Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007175/0.0007175, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001755, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007248/0.0007248, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009967/0.001721, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9351/0.9351, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08234/1.017, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.466/2.466, allocations: 447.1 MB / 0.675 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2709/2.737, allocations: 146 MB / 0.8176 GB, free: 3.809 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.844e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.00325/0.003278, allocations: 2.088 MB / 0.821 GB, free: 368 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.005346, allocations: 1.34 MB / 0.8223 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.005489, allocations: 7.938 kB / 0.8223 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0003392/0.005828, allocations: 171.3 kB / 0.8225 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000384/0.006212, allocations: 214.9 kB / 0.8227 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003313/0.006543, allocations: 171.3 kB / 0.8228 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.006924, allocations: 335 kB / 0.8231 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.007061, allocations: 38.88 kB / 0.8232 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007897/0.00785, allocations: 328.8 kB / 0.8235 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.008034, allocations: 131.7 kB / 0.8236 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.937e-05/0.008063, allocations: 16 kB / 0.8236 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.008193, allocations: 51.92 kB / 0.8237 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.097e-05/0.008274, allocations: 83.7 kB / 0.8238 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.844e-05/0.008332, allocations: 51.81 kB / 0.8238 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.00865, allocations: 238.9 kB / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.33e-05/0.008664, allocations: 0 / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.282e-06/0.008665, allocations: 4 kB / 0.824 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.008677, allocations: 3.938 kB / 0.824 GB, free: 13.24 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006444/0.009321, allocations: 0.584 MB / 0.8246 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.009353, allocations: 12.03 kB / 0.8246 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.009404, allocations: 24.91 kB / 0.8247 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.009678, allocations: 268.1 kB / 0.8249 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.009695, allocations: 8.375 kB / 0.8249 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.009713, allocations: 15.94 kB / 0.8249 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.009857, allocations: 97.08 kB / 0.825 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.009864, allocations: 0 / 0.825 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.009874, allocations: 4 kB / 0.825 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.009879, allocations: 4 kB / 0.825 GB, free: 12.17 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.324e-05/0.009922, allocations: 25.7 kB / 0.8251 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003621/0.01028, allocations: 261.6 kB / 0.8253 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.01042, allocations: 120.1 kB / 0.8254 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.01045, allocations: 20.84 kB / 0.8254 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.01047, allocations: 4 kB / 0.8254 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001271/0.01059, allocations: 96.78 kB / 0.8255 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.01059, allocations: 7.938 kB / 0.8255 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0001725/0.01077, allocations: 109.6 kB / 0.8256 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.0108, allocations: 55.41 kB / 0.8257 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.01103, allocations: 358.1 kB / 0.826 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.01105, allocations: 29.7 kB / 0.8261 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.326e-05/0.01111, allocations: 129.5 kB / 0.8262 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.01114, allocations: 39.72 kB / 0.8262 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.01121, allocations: 69.89 kB / 0.8263 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.01131, allocations: 358.7 kB / 0.8266 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.706e-05/0.01136, allocations: 31.38 kB / 0.8267 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.01141, allocations: 64.14 kB / 0.8267 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.01153, allocations: 116 kB / 0.8268 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01153, allocations: 4 kB / 0.8268 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001564/0.01169, allocations: 152.4 kB / 0.827 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.0117, allocations: 8 kB / 0.827 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.01171, allocations: 4.062 kB / 0.827 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.01172, allocations: 0 / 0.827 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.01186, allocations: 59.91 kB / 0.8271 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.01186, allocations: 4 kB / 0.8271 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.507e-05/0.01193, allocations: 19.88 kB / 0.8271 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.01195, allocations: 11.94 kB / 0.8271 GB, free: 9.926 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTabLin1.tab.nextTimeEvent,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition1,timTabLin1.tab.nextTimeEventScaled,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,reaToInt1.y,reaToInt.y,intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 9.007e-05/0.01204, allocations: 132.6 kB / 0.8272 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.01206, allocations: 23.97 kB / 0.8272 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000161/0.01222, allocations: 127.4 kB / 0.8274 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.01222, allocations: 0 / 0.8274 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.01222, allocations: 0 / 0.8274 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.01223, allocations: 4 kB / 0.8274 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.01235, allocations: 149.6 kB / 0.8275 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01236, allocations: 0 / 0.8275 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.01241, allocations: 19.98 kB / 0.8275 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.01244, allocations: 27.75 kB / 0.8276 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01244, allocations: 4 kB / 0.8276 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01246, allocations: 11.92 kB / 0.8276 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01246, allocations: 0 / 0.8276 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01246, allocations: 4 kB / 0.8276 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.01259, allocations: 130.6 kB / 0.8277 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.01262, allocations: 8 kB / 0.8277 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.45e-05/0.01266, allocations: 11.98 kB / 0.8277 GB, free: 9.219 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.01271, allocations: 15.97 kB / 0.8277 GB, free: 9.203 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/0.01272, allocations: 4 kB / 0.8277 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001067/0.01282, allocations: 136.7 kB / 0.8279 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01282, allocations: 0 / 0.8279 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001739/0.013, allocations: 67.88 kB / 0.8279 GB, free: 9.004 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intEqu.y,reaToInt.y,reaToInt1.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0012/0.0142, allocations: 0.5676 MB / 0.8285 GB, free: 8.715 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.01435, allocations: 104.9 kB / 0.8286 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.01436, allocations: 12 kB / 0.8286 GB, free: 8.598 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.791e-05/0.01443, allocations: 44.78 kB / 0.8286 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.0148, allocations: 0.5117 MB / 0.8291 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.01547, allocations: 481 kB / 0.8296 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.651e-05/0.01554, allocations: 112.3 kB / 0.8297 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.198e-05/0.01563, allocations: 54.92 kB / 0.8298 GB, free: 7.277 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.01577, allocations: 107.3 kB / 0.8299 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/0.01577, allocations: 0 / 0.8299 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of Templates: time 0.006926/0.0227, allocations: 4.913 MB / 0.8347 GB, free: 2.352 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.276414657011628]