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.001722/0.001722, allocations: 78.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002109/0.002109, allocations: 169.4 kB / 22.46 MB, free: 5.355 MB / 14.72 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.497/1.497, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.976/2.976, allocations: 389 MB / 0.633 GB, free: 1.035 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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 5.29e-06/5.29e-06, allocations: 4 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.872e-05/3.401e-05, allocations: 2.281 kB / 1 GB, free: 7.312 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Equal): time 0.003784/0.003818, allocations: 1.985 MB / 1.002 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002649/0.006467, allocations: 1.282 MB / 1.003 GB, free: 4.035 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001383/0.006605, allocations: 4 kB / 1.003 GB, free: 4.031 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0005337/0.007139, allocations: 171.2 kB / 1.003 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0005364/0.007675, allocations: 207 kB / 1.004 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004329/0.008108, allocations: 171.4 kB / 1.004 GB, free: 3.492 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.008573, allocations: 343 kB / 1.004 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.008751, allocations: 28.92 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.009054, allocations: 195.5 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.0093, allocations: 139.6 kB / 1.005 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.535e-05/0.009345, allocations: 16 kB / 1.005 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001558/0.009501, allocations: 63.91 kB / 1.005 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.009638, allocations: 95.61 kB / 1.005 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.009751, allocations: 75.7 kB / 1.005 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.01023, allocations: 374.7 kB / 1.005 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.01024, allocations: 4 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.502e-06/0.01024, allocations: 0 / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.01024, allocations: 4 kB / 1.005 GB, free: 2.18 MB / 0.9512 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.001065/0.01131, allocations: 0.5701 MB / 1.006 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.01135, allocations: 8.031 kB / 1.006 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.858e-05/0.01143, allocations: 36.7 kB / 1.006 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.01198, allocations: 320.1 kB / 1.006 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.012, allocations: 12.12 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.01202, allocations: 8 kB / 1.006 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.0123, allocations: 117.5 kB / 1.006 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.01231, allocations: 0 / 1.006 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.01233, allocations: 4 kB / 1.006 GB, free: 1.051 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.01234, allocations: 4 kB / 1.006 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.01255, allocations: 59.95 kB / 1.006 GB, free: 0.9883 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008508/0.0134, allocations: 424.2 kB / 1.007 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003778/0.01378, allocations: 138.7 kB / 1.007 GB, free: 408 kB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.01391, allocations: 56.77 kB / 1.007 GB, free: 348 kB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.01394, allocations: 4 kB / 1.007 GB, free: 344 kB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.01421, allocations: 115.3 kB / 1.007 GB, free: 216 kB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 2.014e-06/0.01422, allocations: 0 / 1.007 GB, free: 216 kB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0006282/0.01484, allocations: 230.8 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.01491, allocations: 59.34 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006487/0.01555, allocations: 0.5327 MB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.01558, allocations: 29.7 kB / 1.008 GB, free: 15.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.01573, allocations: 176.5 kB / 1.008 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.466e-05/0.01578, allocations: 39.73 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.01589, allocations: 77.84 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.01607, allocations: 350.8 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.01628, allocations: 100.5 kB / 1.008 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.01654, allocations: 135.6 kB / 1.009 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/0.0169, allocations: 182.5 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.0169, allocations: 4 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006077/0.01751, allocations: 333.3 kB / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01753, allocations: 7.938 kB / 1.009 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.01753, allocations: 0 / 1.009 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.01755, allocations: 4 kB / 1.009 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.0178, allocations: 47.97 kB / 1.009 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.01781, allocations: 7.938 kB / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.01795, allocations: 23.81 kB / 1.009 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.01798, allocations: 12 kB / 1.009 GB, free: 13.82 MB / 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.0002083/0.01819, allocations: 186.4 kB / 1.009 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.01824, allocations: 35.77 kB / 1.009 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004778/0.01872, allocations: 216.6 kB / 1.01 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01872, allocations: 0 / 1.01 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01873, allocations: 3.938 kB / 1.01 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.01874, allocations: 3.984 kB / 1.01 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.01901, allocations: 225.2 kB / 1.01 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.01901, allocations: 4 kB / 1.01 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.457e-05/0.0191, allocations: 15.98 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.0191, allocations: 4 kB / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.01911, allocations: 0 / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01911, allocations: 0 / 1.01 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.01912, allocations: 4 kB / 1.01 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004235/0.01954, allocations: 228.6 kB / 1.01 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.397e-05/0.01961, allocations: 43.75 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.01966, allocations: 4 kB / 1.01 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.99e-05/0.01976, allocations: 11.92 kB / 1.01 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.01984, allocations: 19.97 kB / 1.01 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.01986, allocations: 15.94 kB / 1.01 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003963/0.02026, allocations: 327.1 kB / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02026, allocations: 0 / 1.01 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003289/0.02059, allocations: 63.88 kB / 1.011 GB, free: 12.37 MB / 0.9669 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.001743/0.02233, allocations: 453.5 kB / 1.011 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004554/0.02279, allocations: 187.8 kB / 1.011 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02279, allocations: 0 / 1.011 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.02296, allocations: 80 kB / 1.011 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.02345, allocations: 86.67 kB / 1.011 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.02443, allocations: 0.5503 MB / 1.012 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.02464, allocations: 191.8 kB / 1.012 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001373/0.02478, allocations: 58.94 kB / 1.012 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.02488, allocations: 36.48 kB / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.02488, allocations: 0 / 1.012 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of Templates: time 0.01086/0.03574, allocations: 4.492 MB / 1.017 GB, free: 6.449 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.584871027618647]