Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001586/0.001586, allocations: 117.6 kB / 17.13 MB, free: 5.758 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.001815/0.001815, allocations: 192.6 kB / 20.08 MB, free: 2.848 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.503/1.503, allocations: 225.6 MB / 248.5 MB, free: 3.645 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.758/2.758, allocations: 443.5 MB / 0.7293 GB, free: 14.67 MB / 0.5763 GB " [Timeout remaining time 176] 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.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 71.89 kB / 1.057 GB, free: 2.113 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3584, allocations: 160.7 MB / 1.214 GB, free: 1.078 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002623/0.3611, allocations: 0.7991 MB / 1.215 GB, free: 272 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.001771/0.3628, allocations: 1.176 MB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.084e-05/0.3629, allocations: 0 / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.3629, allocations: 7.922 kB / 1.216 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.363, allocations: 11.88 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.3636, allocations: 146.8 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002199/0.3638, allocations: 143.7 kB / 1.216 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.3639, allocations: 27.95 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.364, allocations: 67.78 kB / 1.216 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.3642, allocations: 51.81 kB / 1.216 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.3642, allocations: 16 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.363e-05/0.3643, allocations: 31.97 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.3643, allocations: 19.92 kB / 1.216 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.3644, allocations: 51.78 kB / 1.217 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.3647, allocations: 151.5 kB / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3647, allocations: 0 / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3647, allocations: 0 / 1.217 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3647, allocations: 3.938 kB / 1.217 GB, free: 14.36 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007511/0.3654, allocations: 440.8 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3655, allocations: 8.031 kB / 1.217 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.083e-05/0.3655, allocations: 12.89 kB / 1.217 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.3657, allocations: 176.2 kB / 1.217 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.3657, allocations: 8.359 kB / 1.217 GB, free: 13.63 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.271e-05/0.3657, allocations: 12.38 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.366, allocations: 81.84 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.366, allocations: 4.188 kB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.366, allocations: 7.938 kB / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.366, allocations: 0 / 1.217 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.3662, allocations: 67.88 kB / 1.217 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.3668, allocations: 372.6 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.367, allocations: 58.5 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.3671, allocations: 32.92 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.3671, allocations: 3.984 kB / 1.218 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.3674, allocations: 83.31 kB / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.273e-06/0.3674, allocations: 0 / 1.218 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004511/0.3679, allocations: 129.6 kB / 1.218 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3679, allocations: 55.41 kB / 1.218 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.368, allocations: 126.1 kB / 1.218 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.342e-05/0.3681, allocations: 29.7 kB / 1.218 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.619e-05/0.3682, allocations: 104.1 kB / 1.218 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.159e-05/0.3682, allocations: 11.91 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3683, allocations: 45.69 kB / 1.218 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3684, allocations: 318.8 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.3686, allocations: 47.95 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.3688, allocations: 83.33 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.3691, allocations: 124.1 kB / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.3691, allocations: 0 / 1.219 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000442/0.3695, allocations: 195.3 kB / 1.219 GB, free: 11.51 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.3696, allocations: 43.88 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3696, allocations: 320 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.3696, allocations: 0 / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.762e-05/0.3697, allocations: 20.05 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3697, allocations: 0 / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.3699, allocations: 43.83 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.3699, allocations: 4 kB / 1.219 GB, free: 11.4 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: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.0001172/0.3701, allocations: 125.8 kB / 1.219 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.3701, allocations: 15.94 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.3701, allocations: 8.375 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3701, allocations: 0 / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3701, allocations: 0 / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3701, allocations: 3.938 kB / 1.219 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.3703, allocations: 189.6 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3703, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-05/0.3704, allocations: 8 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3704, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3704, allocations: 7.984 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3704, allocations: 0 / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3704, allocations: 4 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.3707, allocations: 132.9 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.3707, allocations: 81.06 kB / 1.22 GB, free: 10.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.3708, allocations: 4 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.644e-05/0.3708, allocations: 7.984 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.3709, allocations: 19.92 kB / 1.22 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.3709, allocations: 4 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.371, allocations: 95.31 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.371, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002294/0.3712, allocations: 31.94 kB / 1.22 GB, free: 10.58 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: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001805/0.3714, allocations: 107.2 kB / 1.22 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000412/0.3718, allocations: 155.3 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3718, allocations: 0 / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3719, allocations: 35.97 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3722, allocations: 16.33 kB / 1.22 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004505/0.3726, allocations: 200.5 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3729, allocations: 0.6964 MB / 1.221 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.728e-05/0.373, allocations: 11.44 kB / 1.221 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.373, allocations: 0 / 1.221 GB, free: 9.285 MB / 0.9669 GB Notification: Performance of Templates: time 0.003604/0.3766, allocations: 1.351 MB / 1.223 GB, free: 7.945 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.851393811171874]