Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.001844/0.001844, allocations: 84.73 kB / 19.44 MB, free: 352 kB / 13.93 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.002342/0.002342, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.495/1.495, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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.207/3.207, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 0.8776 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.303e-05, allocations: 6.75 kB / 0.8776 GB, free: 5.398 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003857/0.00389, allocations: 2.017 MB / 0.8795 GB, free: 3.402 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001596/0.005486, allocations: 0.7622 MB / 0.8803 GB, free: 2.637 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.005602, allocations: 12.75 kB / 0.8803 GB, free: 2.625 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001523/0.005755, allocations: 27.61 kB / 0.8803 GB, free: 2.598 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.005876, allocations: 48.94 kB / 0.8804 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005517/0.006427, allocations: 184.5 kB / 0.8806 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0005327/0.00696, allocations: 411.1 kB / 0.8809 GB, free: 1.969 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003748/0.007335, allocations: 211.3 kB / 0.8811 GB, free: 1.762 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003491/0.007684, allocations: 211.6 kB / 0.8813 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.007883, allocations: 107.7 kB / 0.8815 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.007945, allocations: 37.22 kB / 0.8815 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.008064, allocations: 48 kB / 0.8815 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.008168, allocations: 87.72 kB / 0.8816 GB, free: 1.281 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.008307, allocations: 99.08 kB / 0.8817 GB, free: 1.188 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0005838/0.008891, allocations: 446.5 kB / 0.8821 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.008897, allocations: 4 kB / 0.8821 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.176e-06/0.0089, allocations: 4 kB / 0.8821 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.008905, allocations: 0 / 0.8821 GB, free: 0.7422 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001191/0.0101, allocations: 0.5011 MB / 0.8826 GB, free: 212 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.01013, allocations: 12.03 kB / 0.8826 GB, free: 200 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004897/0.01062, allocations: 85.23 kB / 0.8827 GB, free: 116 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004436/0.01107, allocations: 223 kB / 0.8829 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/0.01111, allocations: 25.03 kB / 0.883 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.01116, allocations: 33.84 kB / 0.883 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006512/0.01181, allocations: 309.6 kB / 0.8833 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.01182, allocations: 192 / 0.8833 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.01186, allocations: 16.36 kB / 0.8833 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.01189, allocations: 11.94 kB / 0.8833 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005623/0.01245, allocations: 234.5 kB / 0.8835 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.01398, allocations: 0.7585 MB / 0.8843 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.01457, allocations: 230 kB / 0.8845 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.01482, allocations: 105.3 kB / 0.8846 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.01486, allocations: 4.234 kB / 0.8846 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.0152, allocations: 160.7 kB / 0.8848 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.853e-06/0.01521, allocations: 0 / 0.8848 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=30): time 0.0008409/0.01605, allocations: 335.7 kB / 0.8851 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.0161, allocations: 55.41 kB / 0.8851 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.01634, allocations: 199.1 kB / 0.8853 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/0.01639, allocations: 45.7 kB / 0.8854 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01653, allocations: 152.8 kB / 0.8855 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.01663, allocations: 91.3 kB / 0.8856 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/0.01676, allocations: 77.69 kB / 0.8857 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.01697, allocations: 330.8 kB / 0.886 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.01721, allocations: 95.89 kB / 0.8861 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.0175, allocations: 153.8 kB / 0.8862 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.01796, allocations: 210.4 kB / 0.8864 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.01796, allocations: 4 kB / 0.8864 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006511/0.01861, allocations: 308.9 kB / 0.8867 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.01864, allocations: 16.14 kB / 0.8867 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.01865, allocations: 3.938 kB / 0.8867 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.01867, allocations: 4 kB / 0.8867 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.0189, allocations: 35.86 kB / 0.8868 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.01891, allocations: 4 kB / 0.8868 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.01914, allocations: 47.8 kB / 0.8868 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.01917, allocations: 20 kB / 0.8869 GB, free: 11.7 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.localCondition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.localCondition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0002113/0.01938, allocations: 169.8 kB / 0.887 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.01945, allocations: 35.84 kB / 0.887 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.01952, allocations: 26.59 kB / 0.8871 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01952, allocations: 4 kB / 0.8871 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01953, allocations: 0 / 0.8871 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.01954, allocations: 7.984 kB / 0.8871 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.02069, allocations: 0.6001 MB / 0.8877 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.02069, allocations: 0 / 0.8877 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.02085, allocations: 35.91 kB / 0.8877 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.02085, allocations: 0 / 0.8877 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.02087, allocations: 4 kB / 0.8877 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.02087, allocations: 4 kB / 0.8877 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02087, allocations: 0 / 0.8877 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.02148, allocations: 352.3 kB / 0.888 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.02151, allocations: 19.8 kB / 0.8881 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.02155, allocations: 8 kB / 0.8881 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002295/0.02178, allocations: 31.95 kB / 0.8881 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.0219, allocations: 35.95 kB / 0.8881 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.5e-05/0.02193, allocations: 15.92 kB / 0.8882 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001315/0.02206, allocations: 130.3 kB / 0.8883 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.02206, allocations: 0 / 0.8883 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003452/0.02241, allocations: 67.78 kB / 0.8883 GB, free: 10.11 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: 19 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.active,heaCon.off.active,$whenCondition2,$whenCondition1,heaCon.off.localActive,heaCon.off.newActive,heaCon.off.oldActive,heaCon.on.localActive,heaCon.on.newActive,heaCon.on.oldActive,heaCon.offToOn.localCondition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.localCondition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001541/0.02256, allocations: 109.2 kB / 0.8884 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005674/0.02313, allocations: 231.8 kB / 0.8887 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.02313, allocations: 0 / 0.8887 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.02338, allocations: 116.3 kB / 0.8888 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.02378, allocations: 46 kB / 0.8888 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009399/0.02472, allocations: 476.5 kB / 0.8893 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001796/0.0249, allocations: 150.9 kB / 0.8894 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.02501, allocations: 26.28 kB / 0.8894 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.985e-05/0.0251, allocations: 24.5 kB / 0.8895 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.0251, allocations: 0 / 0.8895 GB, free: 8.91 MB / 0.8073 GB Notification: Performance of Templates: time 0.007819/0.03292, allocations: 2.897 MB / 0.8923 GB, free: 6.066 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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: 8.08737281197682]