Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002172/0.002172, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 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.002829/0.002829, allocations: 157.7 kB / 23.55 MB, free: 0.875 MB / 18.57 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 1.559/1.559, allocations: 177.1 MB / 203.9 MB, free: 5.344 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.089/3.089, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/2.998e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003991/0.004021, allocations: 2.02 MB / 0.8128 GB, free: 52 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002785/0.006806, allocations: 1.297 MB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.006923, allocations: 4 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005031/0.007426, allocations: 168.4 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.00797, allocations: 216.4 kB / 0.8144 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003891/0.008359, allocations: 164.9 kB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.008851, allocations: 347 kB / 0.8149 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.008993, allocations: 24.92 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003206/0.009313, allocations: 196 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.009577, allocations: 141 kB / 0.8153 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.009625, allocations: 16 kB / 0.8153 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.00978, allocations: 63.91 kB / 0.8153 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.009927, allocations: 91.67 kB / 0.8154 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.01005, allocations: 76.23 kB / 0.8155 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005578/0.01061, allocations: 380.6 kB / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.01061, allocations: 0 / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.01061, allocations: 0 / 0.8159 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.01062, allocations: 0 / 0.8159 GB, free: 12.91 MB / 0.7761 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.001435/0.01205, allocations: 0.701 MB / 0.8165 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.01209, allocations: 10.03 kB / 0.8166 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001136/0.01221, allocations: 44.69 kB / 0.8166 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.0128, allocations: 299 kB / 0.8169 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.967e-05/0.01283, allocations: 20.06 kB / 0.8169 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.01286, allocations: 12.59 kB / 0.8169 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.01312, allocations: 101.5 kB / 0.817 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.01313, allocations: 0.5312 kB / 0.817 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.01315, allocations: 0.7188 kB / 0.817 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.01315, allocations: 4 kB / 0.817 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.01334, allocations: 52.48 kB / 0.8171 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001/0.01434, allocations: 0.4931 MB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.01468, allocations: 123.1 kB / 0.8177 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.0148, allocations: 44.19 kB / 0.8177 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.01482, allocations: 4 kB / 0.8177 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.01508, allocations: 121.8 kB / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.01508, allocations: 0 / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0005673/0.01565, allocations: 202.2 kB / 0.818 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.01571, allocations: 59.34 kB / 0.8181 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007232/0.01643, allocations: 0.5311 MB / 0.8186 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.01646, allocations: 29.7 kB / 0.8186 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.01671, allocations: 255.2 kB / 0.8189 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.507e-05/0.01676, allocations: 40.58 kB / 0.8189 GB, free: 9.621 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.01691, allocations: 87.62 kB / 0.819 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003648/0.01728, allocations: 0.5483 MB / 0.8195 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.01745, allocations: 68.53 kB / 0.8196 GB, free: 8.898 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.01768, allocations: 113.2 kB / 0.8197 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003328/0.01802, allocations: 156.1 kB / 0.8198 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01802, allocations: 0 / 0.8198 GB, free: 8.613 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005827/0.0186, allocations: 280.2 kB / 0.8201 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.01862, allocations: 8.938 kB / 0.8201 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.01863, allocations: 0 / 0.8201 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01865, allocations: 3.984 kB / 0.8201 GB, free: 8.324 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.01889, allocations: 58.34 kB / 0.8202 GB, free: 8.27 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.0189, allocations: 3.938 kB / 0.8202 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.01904, allocations: 19.92 kB / 0.8202 GB, free: 8.246 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/0.01909, allocations: 8 kB / 0.8202 GB, free: 8.238 MB / 0.7761 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.0001996/0.01929, allocations: 189.2 kB / 0.8204 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.01936, allocations: 39.77 kB / 0.8204 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004498/0.01981, allocations: 192.6 kB / 0.8206 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01981, allocations: 1.531 kB / 0.8206 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.01982, allocations: 7.938 kB / 0.8206 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01983, allocations: 0 / 0.8206 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004036/0.02023, allocations: 288.5 kB / 0.8209 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.02023, allocations: 0 / 0.8209 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.02032, allocations: 20.64 kB / 0.8209 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02032, allocations: 1.344 kB / 0.8209 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.02034, allocations: 4 kB / 0.8209 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.02034, allocations: 0 / 0.8209 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.02034, allocations: 0 / 0.8209 GB, free: 7.465 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.02078, allocations: 232.7 kB / 0.8211 GB, free: 7.215 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.76e-05/0.02088, allocations: 39.75 kB / 0.8212 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.02092, allocations: 4.656 kB / 0.8212 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.02102, allocations: 7.984 kB / 0.8212 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.0211, allocations: 20.62 kB / 0.8212 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.02113, allocations: 15.12 kB / 0.8212 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004107/0.02154, allocations: 319.1 kB / 0.8215 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02154, allocations: 0 / 0.8215 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003063/0.02185, allocations: 55.94 kB / 0.8216 GB, free: 6.77 MB / 0.7761 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.003071/0.02492, allocations: 451.2 kB / 0.822 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004514/0.02537, allocations: 181.7 kB / 0.8222 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.02537, allocations: 0 / 0.8222 GB, free: 6.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.02554, allocations: 67.59 kB / 0.8223 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.02609, allocations: 115.3 kB / 0.8224 GB, free: 6.164 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.02707, allocations: 0.4892 MB / 0.8228 GB, free: 5.641 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.02729, allocations: 179.8 kB / 0.823 GB, free: 5.449 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001377/0.02742, allocations: 50.94 kB / 0.8231 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.02753, allocations: 40.48 kB / 0.8231 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of SimCode: time 8.82e-07/0.02753, allocations: 0 / 0.8231 GB, free: 5.363 MB / 0.7761 GB Notification: Performance of Templates: time 0.01118/0.03872, allocations: 4.506 MB / 0.8275 GB, free: 0.9375 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_Equal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.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: 8.282709114952013]