Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 114.8 kB / 17.08 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 191.7 kB / 20.03 MB, free: 3.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.724/2.724, allocations: 437.1 MB / 0.7178 GB, free: 4.539 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3006, allocations: 151.6 MB / 1.176 GB, free: 5.926 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001786/0.3025, allocations: 0.5384 MB / 1.176 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.725e-05/0.3025, allocations: 4 kB / 1.176 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.3026, allocations: 0 / 1.176 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.946e-05/0.3026, allocations: 3.938 kB / 1.176 GB, free: 5.375 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 2.265e-05/0.3026, allocations: 4 kB / 1.176 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.094e-05/0.3027, allocations: 4 kB / 1.176 GB, free: 5.367 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.572e-05/0.3027, allocations: 7.969 kB / 1.176 GB, free: 5.359 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.53e-05/0.3028, allocations: 7.938 kB / 1.176 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.622e-05/0.3028, allocations: 3.938 kB / 1.176 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.681e-05/0.3028, allocations: 0 / 1.176 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3029, allocations: 0 / 1.176 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-06/0.3029, allocations: 0 / 1.176 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.3029, allocations: 0 / 1.176 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.3029, allocations: 0 / 1.176 GB, free: 5.348 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 6.378e-05/0.303, allocations: 8 kB / 1.176 GB, free: 5.34 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.303, allocations: 4 kB / 1.176 GB, free: 5.336 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.282e-06/0.303, allocations: 0 / 1.176 GB, free: 5.336 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.303, allocations: 0 / 1.176 GB, free: 5.336 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003472/0.3033, allocations: 321.7 kB / 1.177 GB, free: 4.973 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3034, allocations: 8.031 kB / 1.177 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.3034, allocations: 0.9375 kB / 1.177 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.3036, allocations: 164.3 kB / 1.177 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3036, allocations: 384 / 1.177 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.3037, allocations: 4.375 kB / 1.177 GB, free: 4.762 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.83e-05/0.3038, allocations: 34.2 kB / 1.177 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.3038, allocations: 192 / 1.177 GB, free: 4.723 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.3038, allocations: 11.92 kB / 1.177 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3038, allocations: 0 / 1.177 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.753e-05/0.3038, allocations: 4 kB / 1.177 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.3043, allocations: 383.5 kB / 1.177 GB, free: 4.281 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3045, allocations: 177 kB / 1.177 GB, free: 4.098 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.3045, allocations: 80.14 kB / 1.178 GB, free: 4.016 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.3045, allocations: 75.28 kB / 1.178 GB, free: 3.941 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.3046, allocations: 105.8 kB / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.3046, allocations: 0 / 1.178 GB, free: 3.828 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 7.819e-05/0.3047, allocations: 30.14 kB / 1.178 GB, free: 3.793 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.3048, allocations: 130.7 kB / 1.178 GB, free: 3.652 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.3049, allocations: 97.86 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3049, allocations: 29.64 kB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.305, allocations: 84.12 kB / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.305, allocations: 0 / 1.178 GB, free: 3.426 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.305, allocations: 9.719 kB / 1.178 GB, free: 3.41 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.3051, allocations: 314.8 kB / 1.178 GB, free: 3.094 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.3051, allocations: 4.125 kB / 1.178 GB, free: 3.09 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.3052, allocations: 4 kB / 1.178 GB, free: 3.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.3052, allocations: 75.28 kB / 1.178 GB, free: 3.012 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.474e-05/0.3052, allocations: 75.28 kB / 1.179 GB, free: 2.938 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.402e-05/0.3053, allocations: 33.64 kB / 1.179 GB, free: 2.898 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.3054, allocations: 83.28 kB / 1.179 GB, free: 2.816 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.01e-05/0.3054, allocations: 83.16 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.34e-05/0.3055, allocations: 150.6 kB / 1.179 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.856e-05/0.3055, allocations: 83.27 kB / 1.179 GB, free: 2.504 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.887e-05/0.3056, allocations: 158.5 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.736e-05/0.3057, allocations: 75.28 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.3057, allocations: 79.22 kB / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001581/0.3059, allocations: 264.3 kB / 1.18 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.306, allocations: 109 kB / 1.18 GB, free: 1.812 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.517e-05/0.306, allocations: 116 kB / 1.18 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.982e-05/0.3061, allocations: 176.3 kB / 1.18 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.952e-05/0.3062, allocations: 180.3 kB / 1.18 GB, free: 1.328 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001044/0.3063, allocations: 184.2 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.3066, allocations: 405.2 kB / 1.181 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.254e-05/0.3067, allocations: 104.9 kB / 1.181 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.3067, allocations: 105.3 kB / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-05/0.3068, allocations: 180.3 kB / 1.181 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001222/0.3069, allocations: 188.2 kB / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.384e-05/0.307, allocations: 180.3 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-05/0.3071, allocations: 188.2 kB / 1.182 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.3073, allocations: 303.8 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3075, allocations: 186 kB / 1.182 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.3076, allocations: 176.3 kB / 1.182 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.641e-05/0.3077, allocations: 108.9 kB / 1.182 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.3077, allocations: 184.2 kB / 1.182 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.583e-05/0.3078, allocations: 105 kB / 1.183 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.225e-05/0.3079, allocations: 87.27 kB / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.475e-06/0.3079, allocations: 0 / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002763/0.3082, allocations: 3.938 kB / 1.183 GB, free: 14.51 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001545/0.3083, allocations: 174.6 kB / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.84e-05/0.3084, allocations: 0 / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3084, allocations: 0 / 1.183 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.3084, allocations: 4 kB / 1.183 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.3088, allocations: 455.6 kB / 1.183 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.3091, allocations: 181.9 kB / 1.183 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.3094, allocations: 0.6768 MB / 1.184 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.699e-05/0.3094, allocations: 7.438 kB / 1.184 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of SimCode: time 5.821e-06/0.3094, allocations: 0 / 1.184 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of Templates: time 0.001695/0.3111, allocations: 323.8 kB / 1.184 GB, free: 12.64 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.22837455291301]