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.0009415/0.0009415, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000838/0.000838, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9238/0.9238, allocations: 177.1 MB / 203.5 MB, free: 5.746 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 1.779/1.779, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 9.42e-07/9.42e-07, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.89e-05, allocations: 6.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002462/0.002481, allocations: 2.01 MB / 1.003 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.003416, allocations: 0.7441 MB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.003505, allocations: 4 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.003601, allocations: 43.55 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.642e-05/0.003668, allocations: 39.59 kB / 1.004 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.00399, allocations: 183.6 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.00426, allocations: 415 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.004477, allocations: 212.3 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001851/0.004662, allocations: 211.6 kB / 1.005 GB, free: 9.188 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.004768, allocations: 103.7 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.047e-05/0.004799, allocations: 36 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.326e-05/0.004862, allocations: 51.98 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.004922, allocations: 79.73 kB / 1.005 GB, free: 8.922 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.004992, allocations: 99.73 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.005306, allocations: 454.5 kB / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.005308, allocations: 0 / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005308, allocations: 0 / 1.005 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.005312, allocations: 4 kB / 1.005 GB, free: 8.375 MB / 0.9636 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.0005009/0.005813, allocations: 0.5012 MB / 1.006 GB, free: 7.848 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.005846, allocations: 8.75 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002356/0.006082, allocations: 64.66 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.006308, allocations: 221.3 kB / 1.006 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.00633, allocations: 21.03 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.006359, allocations: 40.38 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.006704, allocations: 313.6 kB / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.006713, allocations: 192 / 1.007 GB, free: 7.156 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/0.006731, allocations: 8.375 kB / 1.007 GB, free: 7.148 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.006739, allocations: 11.94 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002909/0.00703, allocations: 234.5 kB / 1.007 GB, free: 6.91 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007915/0.007821, allocations: 0.7547 MB / 1.008 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002975/0.008119, allocations: 233.7 kB / 1.008 GB, free: 5.879 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.008246, allocations: 109.1 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.008262, allocations: 4.234 kB / 1.008 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.008435, allocations: 155.5 kB / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=30): time 1.253e-06/0.008437, allocations: 0 / 1.008 GB, free: 5.602 MB / 0.9636 GB Notification: Performance of matching and sorting (n=30): time 0.0007371/0.009174, allocations: 326.9 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.009206, allocations: 63.41 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.009325, allocations: 192.3 kB / 1.009 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.009348, allocations: 41.64 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.663e-05/0.009425, allocations: 160.8 kB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.009472, allocations: 87.25 kB / 1.009 GB, free: 4.707 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/0.009545, allocations: 77.69 kB / 1.009 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.009649, allocations: 338.8 kB / 1.009 GB, free: 4.285 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.009766, allocations: 95.95 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.009911, allocations: 145 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.01014, allocations: 209 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01014, allocations: 0 / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0003061/0.01044, allocations: 306.4 kB / 1.01 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.01045, allocations: 4 kB / 1.01 GB, free: 3.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.01046, allocations: 3.938 kB / 1.01 GB, free: 3.496 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.566e-06/0.01047, allocations: 4 kB / 1.01 GB, free: 3.492 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.453e-05/0.01056, allocations: 43.86 kB / 1.01 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.01057, allocations: 3.984 kB / 1.01 GB, free: 3.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.01066, allocations: 47.97 kB / 1.01 GB, free: 3.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.01067, allocations: 12 kB / 1.01 GB, free: 3.387 MB / 0.9636 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.0001164/0.01079, allocations: 169.8 kB / 1.01 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.808e-05/0.01081, allocations: 19.89 kB / 1.01 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.322e-05/0.01084, allocations: 30.59 kB / 1.01 GB, free: 3.164 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.01084, allocations: 4 kB / 1.01 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.01084, allocations: 0 / 1.01 GB, free: 3.16 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01085, allocations: 3.984 kB / 1.01 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.0114, allocations: 0.6047 MB / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.0114, allocations: 0 / 1.011 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.394e-05/0.01146, allocations: 35.91 kB / 1.011 GB, free: 2.477 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01147, allocations: 7.938 kB / 1.011 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01148, allocations: 0 / 1.011 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.01148, allocations: 4 kB / 1.011 GB, free: 2.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.01148, allocations: 4 kB / 1.011 GB, free: 2.461 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.01176, allocations: 348.3 kB / 1.011 GB, free: 2.105 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.671e-05/0.01178, allocations: 19.8 kB / 1.011 GB, free: 2.086 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.01179, allocations: 8 kB / 1.011 GB, free: 2.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.892e-05/0.01188, allocations: 27.95 kB / 1.011 GB, free: 2.051 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.985e-05/0.01194, allocations: 39.95 kB / 1.011 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.01195, allocations: 11.92 kB / 1.011 GB, free: 2 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.01202, allocations: 137.1 kB / 1.011 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 0 / 1.011 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001846/0.0122, allocations: 63.83 kB / 1.012 GB, free: 1.805 MB / 0.9636 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 7.625e-05/0.01228, allocations: 117.2 kB / 1.012 GB, free: 1.68 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002724/0.01255, allocations: 232.7 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.52e-07/0.01255, allocations: 0 / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.01267, allocations: 111.8 kB / 1.012 GB, free: 1.344 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.01287, allocations: 44.69 kB / 1.012 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005451/0.01342, allocations: 481.9 kB / 1.013 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.771e-05/0.01351, allocations: 154.9 kB / 1.013 GB, free: 0.6328 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.227e-05/0.01358, allocations: 24.5 kB / 1.013 GB, free: 0.6094 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.01358, allocations: 0 / 1.013 GB, free: 0.6094 MB / 0.9636 GB Notification: Performance of Templates: time 0.003728/0.0173, allocations: 3.309 MB / 1.016 GB, free: 13.31 MB / 0.9792 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: 6.726524910889566]