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.001782/0.001783, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001972/0.001972, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.502/1.502, allocations: 222.9 MB / 245.7 MB, free: 4.219 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.764/2.764, allocations: 437.1 MB / 0.7178 GB, free: 4.574 MB / 0.5606 GB " [Timeout remaining time 177] 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.002017/0.002018, allocations: 67.89 kB / 1.028 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3711, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002149/0.3733, allocations: 0.8033 MB / 1.177 GB, free: 5.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3749, allocations: 1.152 MB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.375, allocations: 4 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.375, allocations: 7.875 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.61e-05/0.3751, allocations: 19.84 kB / 1.178 GB, free: 3.918 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004765/0.3756, allocations: 143 kB / 1.178 GB, free: 3.781 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002176/0.3758, allocations: 151.7 kB / 1.178 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.376, allocations: 31.97 kB / 1.178 GB, free: 3.602 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.3761, allocations: 59.83 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3762, allocations: 63.73 kB / 1.178 GB, free: 3.48 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.3763, allocations: 16 kB / 1.178 GB, free: 3.465 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.954e-05/0.3764, allocations: 27.98 kB / 1.178 GB, free: 3.438 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.3764, allocations: 15.98 kB / 1.178 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.3765, allocations: 59.77 kB / 1.178 GB, free: 3.363 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.3767, allocations: 143.4 kB / 1.178 GB, free: 3.223 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3767, allocations: 8 kB / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3767, allocations: 0 / 1.178 GB, free: 3.215 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3767, allocations: 0 / 1.178 GB, free: 3.215 MB / 0.92 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.0006932/0.3774, allocations: 432.8 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3775, allocations: 12.03 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.3776, allocations: 12.89 kB / 1.179 GB, free: 2.711 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.3777, allocations: 176.2 kB / 1.179 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3777, allocations: 8.375 kB / 1.179 GB, free: 2.492 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.3778, allocations: 8.375 kB / 1.179 GB, free: 2.484 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.378, allocations: 89.45 kB / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.378, allocations: 192 / 1.179 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.3781, allocations: 3.938 kB / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3781, allocations: 0 / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.3783, allocations: 67.95 kB / 1.179 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.3789, allocations: 388.5 kB / 1.18 GB, free: 1.895 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.3791, allocations: 54.48 kB / 1.18 GB, free: 1.832 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.3792, allocations: 28.94 kB / 1.18 GB, free: 1.801 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.3792, allocations: 4 kB / 1.18 GB, free: 1.797 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.3796, allocations: 87.36 kB / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.3796, allocations: 0 / 1.18 GB, free: 1.699 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004512/0.38, allocations: 129.5 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.3801, allocations: 55.41 kB / 1.18 GB, free: 1.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.3802, allocations: 137.7 kB / 1.18 GB, free: 1.355 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/0.3803, allocations: 25.7 kB / 1.18 GB, free: 1.324 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3804, allocations: 104.1 kB / 1.18 GB, free: 1.219 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.914e-05/0.3804, allocations: 11.91 kB / 1.18 GB, free: 1.207 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.031e-05/0.3805, allocations: 33.7 kB / 1.18 GB, free: 1.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.3807, allocations: 326.8 kB / 1.181 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.3808, allocations: 51.97 kB / 1.181 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.381, allocations: 79.64 kB / 1.181 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002718/0.3813, allocations: 128.3 kB / 1.181 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3813, allocations: 4 kB / 1.181 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004384/0.3818, allocations: 195.2 kB / 1.181 GB, free: 360 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.056e-05/0.3818, allocations: 33.7 kB / 1.181 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3818, allocations: 0 / 1.181 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3819, allocations: 4 kB / 1.181 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.382, allocations: 7.984 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.382, allocations: 0 / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.3822, allocations: 51.89 kB / 1.181 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.3822, allocations: 11.98 kB / 1.181 GB, free: 244 kB / 0.92 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.0001133/0.3824, allocations: 117.8 kB / 1.181 GB, free: 116 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.249e-05/0.3824, allocations: 7.953 kB / 1.181 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.3824, allocations: 12.38 kB / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.3824, allocations: 0 / 1.181 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3824, allocations: 4 kB / 1.181 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3825, allocations: 7.922 kB / 1.181 GB, free: 84 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.3827, allocations: 185.6 kB / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3827, allocations: 0 / 1.181 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.3827, allocations: 7.984 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3827, allocations: 4 kB / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3828, allocations: 0 / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3828, allocations: 0 / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3828, allocations: 0 / 1.181 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3831, allocations: 132.9 kB / 1.182 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.169e-05/0.3831, allocations: 85.06 kB / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3832, allocations: 0 / 1.182 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.199e-05/0.3832, allocations: 11.98 kB / 1.182 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.674e-05/0.3833, allocations: 23.84 kB / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.3833, allocations: 0 / 1.182 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.895e-05/0.3834, allocations: 99.27 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3834, allocations: 0 / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002288/0.3836, allocations: 27.94 kB / 1.182 GB, free: 15.43 MB / 0.9356 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.0001656/0.3838, allocations: 103.3 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.3843, allocations: 175.4 kB / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3843, allocations: 0 / 1.182 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.3844, allocations: 44.09 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.3846, allocations: 10.06 kB / 1.182 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.3851, allocations: 204.6 kB / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3855, allocations: 0.6945 MB / 1.183 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.511e-05/0.3855, allocations: 11.44 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3855, allocations: 4 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of Templates: time 0.003818/0.3893, allocations: 1.352 MB / 1.184 GB, free: 12.78 MB / 0.9356 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.809104418964125]