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.0009998/0.0009998, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001259/0.001259, allocations: 177 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.983/0.983, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.391/2.391, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.255e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.001366/0.001378, allocations: 0.8575 MB / 0.8395 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002469, allocations: 1.205 MB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.335e-05/0.002512, allocations: 8 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.581e-05/0.002538, allocations: 3.938 kB / 0.8406 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.244e-05/0.00261, allocations: 19.8 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.002925, allocations: 135.6 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.003078, allocations: 147.7 kB / 0.8409 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.654e-05/0.003154, allocations: 35.77 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.003257, allocations: 79.92 kB / 0.841 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.003329, allocations: 39.88 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.00335, allocations: 20 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.454e-05/0.003415, allocations: 27.92 kB / 0.8411 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.003436, allocations: 19.92 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.003476, allocations: 43.89 kB / 0.8412 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.003608, allocations: 115.7 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00361, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003611, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.003614, allocations: 0 / 0.8413 GB, free: 11.38 MB / 0.8073 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.0003052/0.003919, allocations: 330.3 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.48e-05/0.003944, allocations: 8.625 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.928e-05/0.003973, allocations: 20.92 kB / 0.8416 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.017e-05/0.004043, allocations: 113.7 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.004055, allocations: 8.375 kB / 0.8418 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.004069, allocations: 8.375 kB / 0.8418 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.829e-05/0.004158, allocations: 78.86 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.004163, allocations: 4.188 kB / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.00417, allocations: 384 / 0.8418 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.004173, allocations: 384 / 0.8419 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.004199, allocations: 19.92 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002376/0.004437, allocations: 212.1 kB / 0.8421 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.004484, allocations: 30.55 kB / 0.8421 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.584e-05/0.0045, allocations: 16.8 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.004506, allocations: 4 kB / 0.8421 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/0.004573, allocations: 67.47 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.004574, allocations: 7.875 kB / 0.8422 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 9.11e-05/0.004665, allocations: 57.67 kB / 0.8422 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.004687, allocations: 51.41 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.174e-05/0.004749, allocations: 134.6 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.004765, allocations: 33.7 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/0.004801, allocations: 96.08 kB / 0.8425 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.004816, allocations: 19.83 kB / 0.8426 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.586e-05/0.004862, allocations: 33.69 kB / 0.8426 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.788e-05/0.00493, allocations: 322.8 kB / 0.8429 GB, free: 9.57 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.169e-05/0.004982, allocations: 45.69 kB / 0.843 GB, free: 9.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.005042, allocations: 110.8 kB / 0.8431 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.07e-05/0.005103, allocations: 80.31 kB / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.005104, allocations: 0 / 0.8431 GB, free: 9.293 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001136/0.005218, allocations: 168.9 kB / 0.8433 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.00524, allocations: 33.69 kB / 0.8433 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.005244, allocations: 0 / 0.8433 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.404e-06/0.005251, allocations: 4 kB / 0.8433 GB, free: 9.066 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.051e-05/0.005292, allocations: 7.938 kB / 0.8433 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-06/0.005293, allocations: 0 / 0.8433 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.005369, allocations: 31.97 kB / 0.8434 GB, free: 9.027 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.00538, allocations: 4 kB / 0.8434 GB, free: 9.023 MB / 0.8073 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 5.701e-05/0.005437, allocations: 121.9 kB / 0.8435 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.005446, allocations: 7.938 kB / 0.8435 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.712e-05/0.005464, allocations: 16.42 kB / 0.8435 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-06/0.005465, allocations: 0 / 0.8435 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-07/0.005465, allocations: 0 / 0.8435 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.005468, allocations: 3.984 kB / 0.8435 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.811e-05/0.005526, allocations: 81.83 kB / 0.8436 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.005527, allocations: 0 / 0.8436 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.72e-05/0.005544, allocations: 7.938 kB / 0.8436 GB, free: 8.766 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.005546, allocations: 3.938 kB / 0.8436 GB, free: 8.762 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.917e-06/0.005549, allocations: 11.94 kB / 0.8436 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.00555, allocations: 0 / 0.8436 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005551, allocations: 0 / 0.8436 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.896e-05/0.005609, allocations: 81.42 kB / 0.8437 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-06/0.005614, allocations: 0 / 0.8437 GB, free: 8.652 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.005626, allocations: 7.938 kB / 0.8437 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.005649, allocations: 11.98 kB / 0.8437 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.509e-05/0.005674, allocations: 7.984 kB / 0.8437 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.005678, allocations: 3.984 kB / 0.8437 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.431e-05/0.005692, allocations: 16.84 kB / 0.8437 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of sort global known variables: time 2.71e-07/0.005693, allocations: 0 / 0.8437 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001214/0.005814, allocations: 35.89 kB / 0.8438 GB, free: 8.566 MB / 0.8073 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 8.159e-05/0.005896, allocations: 88.34 kB / 0.8439 GB, free: 8.469 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.006021, allocations: 141.9 kB / 0.844 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.006024, allocations: 0 / 0.844 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.769e-05/0.006051, allocations: 24.78 kB / 0.844 GB, free: 8.281 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.347e-05/0.006135, allocations: 14.19 kB / 0.844 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.006473, allocations: 183.8 kB / 0.8442 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.67e-05/0.0065, allocations: 61.06 kB / 0.8443 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.226e-05/0.006522, allocations: 4 kB / 0.8443 GB, free: 7.984 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.751e-05/0.006599, allocations: 75.34 kB / 0.8443 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of SimCode: time 7.32e-07/0.0066, allocations: 0 / 0.8443 GB, free: 7.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.00302/0.00962, allocations: 1.874 MB / 0.8462 GB, free: 6.07 MB / 0.8073 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.182081470731646]