Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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.001411/0.001411, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001615/0.001615, allocations: 219.3 kB / 23 MB, free: 4.914 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.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 3.288/3.288, allocations: 0.5107 GB / 0.8166 GB, free: 17.85 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.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_latest_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_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.28 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.372, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.002292/0.3743, allocations: 0.8025 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3759, allocations: 1.172 MB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.376, allocations: 0 / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.376, allocations: 7.922 kB / 1.367 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.3761, allocations: 7.875 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.3766, allocations: 148 kB / 1.367 GB, free: 11.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.3768, allocations: 151.7 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.377, allocations: 19.98 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.3771, allocations: 59.83 kB / 1.367 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.3772, allocations: 51.75 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.3772, allocations: 16 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.859e-05/0.3773, allocations: 31.92 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.069e-05/0.3773, allocations: 19.97 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 7.147e-05/0.3774, allocations: 43.84 kB / 1.367 GB, free: 11.08 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.3776, allocations: 151.4 kB / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3776, allocations: 0 / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3776, allocations: 0 / 1.367 GB, free: 10.93 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.3776, allocations: 8 kB / 1.367 GB, free: 10.93 MB / 1.061 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.0006678/0.3783, allocations: 351.8 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3783, allocations: 8.031 kB / 1.368 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.256e-05/0.3784, allocations: 12.89 kB / 1.368 GB, free: 10.52 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.3785, allocations: 130.3 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3785, allocations: 4.375 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/0.3786, allocations: 12.38 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002344/0.3788, allocations: 82.22 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.3788, allocations: 4.188 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3788, allocations: 7.922 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.3788, allocations: 7.984 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.379, allocations: 55.89 kB / 1.368 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3796, allocations: 296.3 kB / 1.368 GB, free: 9.875 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3798, allocations: 54.48 kB / 1.368 GB, free: 9.812 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3799, allocations: 32.88 kB / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.3799, allocations: 0 / 1.368 GB, free: 9.777 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002365/0.3801, allocations: 95.31 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.3801, allocations: 0 / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004402/0.3806, allocations: 125.6 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.689e-05/0.3806, allocations: 55.41 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3807, allocations: 125.8 kB / 1.369 GB, free: 9.344 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.3808, allocations: 37.7 kB / 1.369 GB, free: 9.301 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.3808, allocations: 96.08 kB / 1.369 GB, free: 9.203 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.3809, allocations: 19.83 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.3809, allocations: 33.7 kB / 1.369 GB, free: 9.145 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.3811, allocations: 326.8 kB / 1.369 GB, free: 8.816 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.3813, allocations: 77.67 kB / 1.369 GB, free: 8.734 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.3815, allocations: 138.8 kB / 1.369 GB, free: 8.574 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.3818, allocations: 120.2 kB / 1.369 GB, free: 8.441 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.3818, allocations: 4 kB / 1.369 GB, free: 8.438 MB / 1.061 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004577/0.3822, allocations: 220.9 kB / 1.37 GB, free: 8.203 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.76e-05/0.3823, allocations: 33.8 kB / 1.37 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3823, allocations: 3.938 kB / 1.37 GB, free: 8.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3823, allocations: 4 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.636e-05/0.3824, allocations: 12.05 kB / 1.37 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.3824, allocations: 4 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.3826, allocations: 35.95 kB / 1.37 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.3826, allocations: 15.92 kB / 1.37 GB, free: 8.09 MB / 1.061 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.0001141/0.3828, allocations: 122.9 kB / 1.37 GB, free: 7.961 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.3828, allocations: 3.953 kB / 1.37 GB, free: 7.957 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.437e-05/0.3828, allocations: 12.38 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.3828, allocations: 4 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3828, allocations: 0 / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3828, allocations: 0 / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.3829, allocations: 133.2 kB / 1.37 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3829, allocations: 4 kB / 1.37 GB, free: 7.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.383, allocations: 11.92 kB / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.383, allocations: 0 / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.383, allocations: 0 / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.383, allocations: 320 / 1.37 GB, free: 7.762 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.383, allocations: 4 kB / 1.37 GB, free: 7.758 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.3833, allocations: 136.9 kB / 1.37 GB, free: 7.605 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.3833, allocations: 7.953 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.3833, allocations: 4 kB / 1.37 GB, free: 7.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.005e-05/0.3834, allocations: 11.98 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.902e-05/0.3835, allocations: 11.97 kB / 1.37 GB, free: 7.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.3835, allocations: 4 kB / 1.37 GB, free: 7.566 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.785e-05/0.3836, allocations: 95.27 kB / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3836, allocations: 0 / 1.37 GB, free: 7.473 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002231/0.3838, allocations: 23.94 kB / 1.37 GB, free: 7.449 MB / 1.061 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.000146/0.3839, allocations: 107.2 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004468/0.3844, allocations: 189 kB / 1.371 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3844, allocations: 0 / 1.371 GB, free: 7.133 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.3845, allocations: 31.97 kB / 1.371 GB, free: 7.102 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.3847, allocations: 16.11 kB / 1.371 GB, free: 7.086 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004058/0.3851, allocations: 208.7 kB / 1.371 GB, free: 6.852 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.72e-05/0.3852, allocations: 75.33 kB / 1.371 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.3852, allocations: 11.44 kB / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3852, allocations: 0 / 1.371 GB, free: 6.746 MB / 1.061 GB Notification: Performance of Templates: time 0.003273/0.3885, allocations: 1.387 MB / 1.372 GB, free: 5.379 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.55582623789087]