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.00161/0.00161, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002221/0.002221, allocations: 195.8 kB / 16.14 MB, free: 6.711 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.38/1.38, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.329/2.329, allocations: 390.2 MB / 0.6642 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6412/0.6425, allocations: 140.4 MB / 0.9489 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003031/0.6456, allocations: 2.119 MB / 0.951 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.6468, allocations: 0.7146 MB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.647, allocations: 4 kB / 0.9517 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001329/0.6471, allocations: 19.39 kB / 0.9517 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.721e-05/0.6472, allocations: 32.19 kB / 0.9517 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.6476, allocations: 140.5 kB / 0.9519 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.648, allocations: 368.8 kB / 0.9522 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.6483, allocations: 214 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.6485, allocations: 118.3 kB / 0.9525 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001558/0.6486, allocations: 142.5 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.6487, allocations: 20.31 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.04e-05/0.6488, allocations: 26.56 kB / 0.9527 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.6488, allocations: 63.3 kB / 0.9528 GB, free: 6.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.649, allocations: 135.6 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.6493, allocations: 377.6 kB / 0.9533 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.6493, allocations: 5.625 kB / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6493, allocations: 0 / 0.9533 GB, free: 6 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.6493, allocations: 0 / 0.9533 GB, free: 6 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.0007542/0.65, allocations: 0.5703 MB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6501, allocations: 8.781 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.6502, allocations: 33.75 kB / 0.9539 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.6504, allocations: 266.4 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.338e-05/0.6505, allocations: 26.62 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.6505, allocations: 32.95 kB / 0.9542 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005411/0.6511, allocations: 324.6 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.6511, allocations: 1.469 kB / 0.9545 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.6511, allocations: 9.469 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.6512, allocations: 7.844 kB / 0.9545 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004707/0.6516, allocations: 229.2 kB / 0.9547 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.6529, allocations: 0.9397 MB / 0.9557 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.6534, allocations: 241.4 kB / 0.9559 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000203/0.6536, allocations: 125.2 kB / 0.956 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.6537, allocations: 7.047 kB / 0.956 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.654, allocations: 158.4 kB / 0.9562 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.654, allocations: 0 / 0.9562 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0006398/0.6546, allocations: 324.7 kB / 0.9565 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.6547, allocations: 60.73 kB / 0.9565 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.6548, allocations: 202.9 kB / 0.9567 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.6548, allocations: 43.03 kB / 0.9568 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.6549, allocations: 153.3 kB / 0.9569 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.655, allocations: 74.92 kB / 0.957 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/0.6551, allocations: 80.33 kB / 0.9571 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.912e-05/0.6551, allocations: 336.3 kB / 0.9574 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001807/0.6553, allocations: 97.39 kB / 0.9575 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.6555, allocations: 149.5 kB / 0.9576 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.6559, allocations: 210.7 kB / 0.9578 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.6559, allocations: 5.406 kB / 0.9578 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000489/0.6564, allocations: 306.6 kB / 0.9581 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6564, allocations: 7.219 kB / 0.9581 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6564, allocations: 1.375 kB / 0.9581 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.6564, allocations: 3.844 kB / 0.9581 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.6566, allocations: 51.09 kB / 0.9582 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.6566, allocations: 6.469 kB / 0.9582 GB, free: 2.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.6568, allocations: 44.31 kB / 0.9582 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.6569, allocations: 18.42 kB / 0.9582 GB, free: 2.188 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.0001529/0.657, allocations: 165.7 kB / 0.9584 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.6571, allocations: 25.25 kB / 0.9584 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005118/0.6576, allocations: 277.4 kB / 0.9587 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6576, allocations: 7.203 kB / 0.9587 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6576, allocations: 0 / 0.9587 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.6576, allocations: 0.9062 kB / 0.9587 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008897/0.6585, allocations: 0.7335 MB / 0.9594 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6585, allocations: 1.062 kB / 0.9594 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/0.6587, allocations: 31.83 kB / 0.9594 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6587, allocations: 0.9688 kB / 0.9594 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.6587, allocations: 10.12 kB / 0.9595 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6587, allocations: 1 kB / 0.9595 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.6587, allocations: 0.8125 kB / 0.9595 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004255/0.6592, allocations: 359.6 kB / 0.9598 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.6592, allocations: 99.36 kB / 0.9599 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.6592, allocations: 6.156 kB / 0.9599 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.6595, allocations: 25.44 kB / 0.9599 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.6596, allocations: 46.97 kB / 0.96 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.6596, allocations: 10.22 kB / 0.96 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 9.739e-05/0.6597, allocations: 138.8 kB / 0.9601 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6597, allocations: 1.375 kB / 0.9601 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003409/0.66, allocations: 65.38 kB / 0.9602 GB, free: 0.7266 MB / 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.0001641/0.6602, allocations: 115.5 kB / 0.9603 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004747/0.6607, allocations: 254.3 kB / 0.9605 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6607, allocations: 4.312 kB / 0.9605 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.6609, allocations: 131.3 kB / 0.9607 GB, free: 476 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.6613, allocations: 29.27 kB / 0.9607 GB, free: 460 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.6623, allocations: 0.5432 MB / 0.9612 GB, free: 44 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/0.6629, allocations: 0.761 MB / 0.962 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001428/0.6631, allocations: 26.16 kB / 0.962 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.676e-05/0.6632, allocations: 38.61 kB / 0.962 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.6632, allocations: 4 kB / 0.962 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of Templates: time 0.007639/0.6708, allocations: 2.691 MB / 0.9646 GB, free: 13.96 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