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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Validation.Equal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|intEqu.u1|intEqu.u2|intEqu.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008239/0.008239, allocations: 100.3 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 190.4 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.968/2.968, allocations: 461.9 MB / 0.7348 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001277, allocations: 63.91 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4335, allocations: 157.4 MB / 1.208 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.004321/0.438, allocations: 1.999 MB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002447/0.4404, allocations: 1.201 MB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.4407, allocations: 3.938 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005861/0.4413, allocations: 155.4 kB / 1.211 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004587/0.4418, allocations: 163.4 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006586/0.4425, allocations: 219.9 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004131/0.4429, allocations: 315.2 kB / 1.212 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001983/0.4431, allocations: 44.38 kB / 1.212 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.4433, allocations: 159.4 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.4436, allocations: 151.4 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.651e-05/0.4436, allocations: 12 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.4438, allocations: 59.98 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.4439, allocations: 91.66 kB / 1.212 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.4441, allocations: 123.1 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005048/0.4446, allocations: 370.7 kB / 1.213 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4446, allocations: 0 / 1.213 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4446, allocations: 0 / 1.213 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.4446, allocations: 0 / 1.213 GB, free: 4.66 MB / 0.9669 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.001105/0.4457, allocations: 0.6224 MB / 1.213 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.4458, allocations: 8.625 kB / 1.213 GB, free: 3.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.773e-05/0.4459, allocations: 32.56 kB / 1.213 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005601/0.4464, allocations: 381.9 kB / 1.214 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.4465, allocations: 8 kB / 1.214 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.4465, allocations: 4 kB / 1.214 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002608/0.4468, allocations: 115 kB / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.4468, allocations: 0 / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.4468, allocations: 0 / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.4468, allocations: 0 / 1.214 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.447, allocations: 71.8 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008374/0.4478, allocations: 492.4 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.4482, allocations: 142.7 kB / 1.214 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.4483, allocations: 52.83 kB / 1.214 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.4484, allocations: 4 kB / 1.215 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.4487, allocations: 111.3 kB / 1.215 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.144e-06/0.4487, allocations: 4 kB / 1.215 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005814/0.4493, allocations: 225.3 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.4493, allocations: 51.41 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.4499, allocations: 0.5054 MB / 1.215 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.45, allocations: 33.64 kB / 1.215 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4501, allocations: 168.3 kB / 1.216 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.4502, allocations: 35.62 kB / 1.216 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.4503, allocations: 77.88 kB / 1.216 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.4504, allocations: 342.8 kB / 1.216 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.4506, allocations: 100.5 kB / 1.216 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.4508, allocations: 131.6 kB / 1.216 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.4512, allocations: 192.2 kB / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4512, allocations: 0 / 1.216 GB, free: 0.5742 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005187/0.4517, allocations: 317.1 kB / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.4518, allocations: 7.938 kB / 1.217 GB, free: 256 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.4518, allocations: 4 kB / 1.217 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4518, allocations: 0 / 1.217 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.452, allocations: 55.91 kB / 1.217 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4521, allocations: 0 / 1.217 GB, free: 196 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.4522, allocations: 23.98 kB / 1.217 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4522, allocations: 8 kB / 1.217 GB, free: 164 kB / 0.9669 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 0.0002216/0.4525, allocations: 177.8 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.945e-05/0.4525, allocations: 39.47 kB / 1.217 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.92e-05/0.4526, allocations: 35.12 kB / 1.217 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.4526, allocations: 4 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.4526, allocations: 3.984 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.4526, allocations: 0 / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003047/0.453, allocations: 297.4 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.453, allocations: 4 kB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.453, allocations: 11.98 kB / 1.217 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.4531, allocations: 3.938 kB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.4531, allocations: 7.984 kB / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4531, allocations: 0 / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.4531, allocations: 0 / 1.217 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.4535, allocations: 215.2 kB / 1.218 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.4536, allocations: 116.7 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.4536, allocations: 11.94 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.4537, allocations: 11.98 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.4538, allocations: 15.98 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4538, allocations: 4 kB / 1.218 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003512/0.4542, allocations: 319.1 kB / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4542, allocations: 0 / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002997/0.4545, allocations: 48 kB / 1.218 GB, free: 14.77 MB / 0.9825 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 (timTabLin1.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001263/0.4558, allocations: 431.3 kB / 1.218 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004515/0.4562, allocations: 195.8 kB / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4562, allocations: 0 / 1.219 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001529/0.4564, allocations: 63.91 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.4569, allocations: 90.78 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009335/0.4578, allocations: 0.5278 MB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.4582, allocations: 0.7869 MB / 1.22 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.4584, allocations: 50.95 kB / 1.22 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.177e-05/0.4584, allocations: 35.42 kB / 1.22 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.4585, allocations: 4 kB / 1.22 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.008982/0.4674, allocations: 4.1 MB / 1.224 GB, free: 8.637 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches