Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCon.yVal|heaCon.yValSwi|heaCon.dT|heaCon.y",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 103.4 kB / 15.34 MB, free: 0.5039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001966/0.001966, allocations: 191.9 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.372/2.372, allocations: 390.2 MB / 0.6643 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 59.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.674, allocations: 140.4 MB / 0.9491 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003082/0.6772, allocations: 2.136 MB / 0.9512 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.6783, allocations: 0.7024 MB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.6785, allocations: 4.438 kB / 0.9519 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.6787, allocations: 21.98 kB / 0.9519 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.604e-05/0.6788, allocations: 35.94 kB / 0.9519 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.6792, allocations: 142.4 kB / 0.9521 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.6796, allocations: 391.6 kB / 0.9524 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.6799, allocations: 255.1 kB / 0.9527 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.6801, allocations: 126.5 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.6802, allocations: 146.5 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.249e-05/0.6803, allocations: 38.12 kB / 0.953 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.249e-05/0.6804, allocations: 49.91 kB / 0.953 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.573e-05/0.6805, allocations: 86.64 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.6806, allocations: 146.6 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.681, allocations: 409.3 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.681, allocations: 1 kB / 0.9536 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.152e-06/0.681, allocations: 4 kB / 0.9536 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.681, allocations: 0 / 0.9536 GB, free: 5.559 MB / 0.7169 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.0007608/0.6818, allocations: 0.5656 MB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.6818, allocations: 8.75 kB / 0.9542 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.845e-05/0.6819, allocations: 34 kB / 0.9542 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.6821, allocations: 278.3 kB / 0.9545 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.6822, allocations: 26.53 kB / 0.9545 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.6822, allocations: 33.38 kB / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000537/0.6828, allocations: 316.6 kB / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.6828, allocations: 0 / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.009e-05/0.6828, allocations: 11.41 kB / 0.9549 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.6828, allocations: 11 kB / 0.9549 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.6833, allocations: 237.9 kB / 0.9551 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.6845, allocations: 0.9351 MB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004767/0.685, allocations: 249.6 kB / 0.9563 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002069/0.6852, allocations: 121.3 kB / 0.9564 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.6853, allocations: 3.828 kB / 0.9564 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.6856, allocations: 158.3 kB / 0.9565 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 1.753e-06/0.6856, allocations: 0 / 0.9565 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006439/0.6863, allocations: 336.7 kB / 0.9568 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.6863, allocations: 55.84 kB / 0.9569 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.6865, allocations: 200.3 kB / 0.9571 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.6865, allocations: 38.89 kB / 0.9571 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.231e-05/0.6866, allocations: 152.6 kB / 0.9573 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.347e-05/0.6867, allocations: 78.72 kB / 0.9573 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.6868, allocations: 81.3 kB / 0.9574 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.805e-05/0.6869, allocations: 332.2 kB / 0.9577 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.6871, allocations: 97.3 kB / 0.9578 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.6873, allocations: 153.1 kB / 0.958 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.6876, allocations: 214.3 kB / 0.9582 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6876, allocations: 1.094 kB / 0.9582 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004651/0.6881, allocations: 307.8 kB / 0.9585 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.6881, allocations: 11.88 kB / 0.9585 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6881, allocations: 1.375 kB / 0.9585 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.6881, allocations: 2.75 kB / 0.9585 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.6883, allocations: 38.03 kB / 0.9585 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.6883, allocations: 4.125 kB / 0.9585 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/0.6886, allocations: 48.16 kB / 0.9586 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.6886, allocations: 9.562 kB / 0.9586 GB, free: 1.746 MB / 0.7169 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.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,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.0001495/0.6887, allocations: 178 kB / 0.9588 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.397e-05/0.6888, allocations: 21.72 kB / 0.9588 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000534/0.6893, allocations: 276.5 kB / 0.959 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.6893, allocations: 3.375 kB / 0.959 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.6894, allocations: 1 kB / 0.959 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.6894, allocations: 7.969 kB / 0.9591 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009074/0.6903, allocations: 0.7302 MB / 0.9598 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.6903, allocations: 0 / 0.9598 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.6904, allocations: 32.22 kB / 0.9598 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.6904, allocations: 6.156 kB / 0.9598 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.6905, allocations: 5.156 kB / 0.9598 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6905, allocations: 1.25 kB / 0.9598 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.6905, allocations: 5.375 kB / 0.9598 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.6909, allocations: 350.8 kB / 0.9602 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.691, allocations: 108.2 kB / 0.9603 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.691, allocations: 5.344 kB / 0.9603 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.6912, allocations: 24.88 kB / 0.9603 GB, free: 448 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.432e-05/0.6913, allocations: 44.02 kB / 0.9603 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.6913, allocations: 9.562 kB / 0.9603 GB, free: 416 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.049e-05/0.6914, allocations: 139.7 kB / 0.9605 GB, free: 308 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6914, allocations: 0 / 0.9605 GB, free: 308 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003454/0.6918, allocations: 66.5 kB / 0.9605 GB, free: 288 kB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,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 (32): * Single equations (assignments): 28 * 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.0001536/0.6919, allocations: 122.8 kB / 0.9606 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005374/0.6925, allocations: 264.4 kB / 0.9609 GB, free: 64 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.6925, allocations: 3.938 kB / 0.9609 GB, free: 60 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.6927, allocations: 134.8 kB / 0.961 GB, free: 16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.6931, allocations: 33.98 kB / 0.9611 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.6941, allocations: 0.5498 MB / 0.9616 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003291/0.6944, allocations: 0.7572 MB / 0.9623 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.6945, allocations: 33.45 kB / 0.9624 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.153e-05/0.6946, allocations: 32.05 kB / 0.9624 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.6946, allocations: 0 / 0.9624 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.006496/0.7011, allocations: 2.828 MB / 0.9652 GB, free: 13.41 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches