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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 103.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 250 MB, free: 3.219 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 443.5 MB / 0.731 GB, free: 14.12 MB / 0.5762 GB [Timeout remaining time 86] 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=523,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=523,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.00197/0.00197, allocations: 67.89 kB / 1.06 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3716, allocations: 160.7 MB / 1.217 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002094/0.3737, allocations: 0.8163 MB / 1.217 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.3753, allocations: 1.164 MB / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.36e-05/0.3753, allocations: 0 / 1.218 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.914e-05/0.3754, allocations: 11.86 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.617e-05/0.3754, allocations: 15.86 kB / 1.218 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004789/0.3759, allocations: 147.5 kB / 1.219 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.3761, allocations: 139.7 kB / 1.219 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.3763, allocations: 31.95 kB / 1.219 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3764, allocations: 51.91 kB / 1.219 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3765, allocations: 59.75 kB / 1.219 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.3765, allocations: 19.98 kB / 1.219 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.709e-05/0.3766, allocations: 23.98 kB / 1.219 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.3766, allocations: 23.92 kB / 1.219 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.784e-05/0.3767, allocations: 51.78 kB / 1.219 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.377, allocations: 159.4 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.377, allocations: 3.938 kB / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.377, allocations: 0 / 1.219 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.377, allocations: 0 / 1.219 GB, free: 12.85 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.0006892/0.3777, allocations: 436.8 kB / 1.22 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3777, allocations: 8.031 kB / 1.22 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.3778, allocations: 12.89 kB / 1.22 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.3779, allocations: 172.3 kB / 1.22 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3779, allocations: 12.36 kB / 1.22 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.033e-05/0.378, allocations: 12.38 kB / 1.22 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002373/0.3782, allocations: 82.16 kB / 1.22 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.3782, allocations: 4.188 kB / 1.22 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3782, allocations: 3.938 kB / 1.22 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3782, allocations: 0 / 1.22 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002146/0.3784, allocations: 63.94 kB / 1.22 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.3791, allocations: 384.5 kB / 1.22 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.3792, allocations: 42.56 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3793, allocations: 36.92 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3793, allocations: 0 / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000248/0.3796, allocations: 87.3 kB / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.3796, allocations: 0 / 1.22 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004371/0.38, allocations: 125.8 kB / 1.221 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.3801, allocations: 55.39 kB / 1.221 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3802, allocations: 133.7 kB / 1.221 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.322e-05/0.3802, allocations: 29.7 kB / 1.221 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.3803, allocations: 104.1 kB / 1.221 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3803, allocations: 11.91 kB / 1.221 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.204e-05/0.3804, allocations: 41.69 kB / 1.221 GB, free: 10.81 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3806, allocations: 314.8 kB / 1.221 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.3807, allocations: 56.02 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.3809, allocations: 91.22 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3811, allocations: 116.2 kB / 1.222 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3812, allocations: 0 / 1.222 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004268/0.3816, allocations: 195.2 kB / 1.222 GB, free: 10 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.3816, allocations: 43.25 kB / 1.222 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.3816, allocations: 0 / 1.222 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.3816, allocations: 0 / 1.222 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.19e-05/0.3817, allocations: 15.92 kB / 1.222 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3817, allocations: 0 / 1.222 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.382, allocations: 47.89 kB / 1.222 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.382, allocations: 4 kB / 1.222 GB, free: 9.891 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.0001183/0.3821, allocations: 121.8 kB / 1.222 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.3821, allocations: 11.94 kB / 1.222 GB, free: 9.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/0.3821, allocations: 12.36 kB / 1.222 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3821, allocations: 0 / 1.222 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3821, allocations: 0 / 1.222 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3822, allocations: 7.938 kB / 1.222 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.3823, allocations: 185.6 kB / 1.222 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3823, allocations: 8 kB / 1.222 GB, free: 9.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.3824, allocations: 4 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3824, allocations: 3.938 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3824, allocations: 3.984 kB / 1.222 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3824, allocations: 0 / 1.222 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3824, allocations: 4 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002737/0.3827, allocations: 129 kB / 1.222 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.3827, allocations: 81.06 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.3828, allocations: 8 kB / 1.222 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.38e-05/0.3828, allocations: 7.984 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/0.3829, allocations: 15.92 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3829, allocations: 8.125 kB / 1.222 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.906e-05/0.383, allocations: 91.27 kB / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.383, allocations: 0 / 1.222 GB, free: 9.105 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002325/0.3832, allocations: 31.88 kB / 1.222 GB, free: 9.074 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.0001717/0.3834, allocations: 115.2 kB / 1.223 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004049/0.3838, allocations: 147.3 kB / 1.223 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3838, allocations: 0 / 1.223 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.3839, allocations: 39.91 kB / 1.223 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.3841, allocations: 20.14 kB / 1.223 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004271/0.3845, allocations: 196.6 kB / 1.223 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3849, allocations: 0.6924 MB / 1.224 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.646e-05/0.3849, allocations: 11.44 kB / 1.224 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.3849, allocations: 0 / 1.224 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of Templates: time 0.00349/0.3884, allocations: 1.357 MB / 1.225 GB, free: 6.441 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/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