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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.008301/0.008301, allocations: 101 kB / 15.87 MB, free: 5.867 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.001852/0.001852, allocations: 190.2 kB / 16.79 MB, free: 5.809 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.437/1.437, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 59.91 kB / 0.8125 GB, free: 14.85 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.773/0.7748, allocations: 140.3 MB / 0.9496 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003823/0.7786, allocations: 2.13 MB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.7801, allocations: 0.711 MB / 0.9524 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.7804, allocations: 7.719 kB / 0.9524 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/0.7806, allocations: 23.11 kB / 0.9524 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.7808, allocations: 27.28 kB / 0.9524 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.7813, allocations: 149.8 kB / 0.9526 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005499/0.7819, allocations: 367.7 kB / 0.9529 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004203/0.7823, allocations: 215.8 kB / 0.9531 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.7826, allocations: 113 kB / 0.9532 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002133/0.7828, allocations: 139.5 kB / 0.9534 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.7829, allocations: 18.59 kB / 0.9534 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.783, allocations: 27.72 kB / 0.9534 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.7831, allocations: 63.2 kB / 0.9535 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.7833, allocations: 131 kB / 0.9536 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003186/0.7836, allocations: 308.1 kB / 0.9539 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.7836, allocations: 4 kB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7836, allocations: 3.938 kB / 0.9539 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.406e-05/0.7836, allocations: 0 / 0.9539 GB, free: 5.785 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.0009975/0.7846, allocations: 0.5664 MB / 0.9544 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.7847, allocations: 8.844 kB / 0.9544 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.7848, allocations: 32.03 kB / 0.9545 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.7851, allocations: 272.1 kB / 0.9547 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.7851, allocations: 25.56 kB / 0.9548 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.7852, allocations: 37.73 kB / 0.9548 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000624/0.7858, allocations: 321.3 kB / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/0.7859, allocations: 0 / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.176e-05/0.7859, allocations: 10.12 kB / 0.9551 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.7859, allocations: 11.3 kB / 0.9551 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005204/0.7864, allocations: 229.6 kB / 0.9553 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.7879, allocations: 0.9355 MB / 0.9563 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.7884, allocations: 250.6 kB / 0.9565 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.7886, allocations: 123.7 kB / 0.9566 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.7887, allocations: 3.328 kB / 0.9566 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.789, allocations: 154.4 kB / 0.9568 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=30): time 2.405e-06/0.7891, allocations: 3.938 kB / 0.9568 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30): time 0.0007495/0.7898, allocations: 329.7 kB / 0.9571 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.7899, allocations: 56.22 kB / 0.9571 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.79, allocations: 200 kB / 0.9573 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.7901, allocations: 46.72 kB / 0.9574 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.193e-05/0.7902, allocations: 154.2 kB / 0.9575 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.7902, allocations: 72.3 kB / 0.9576 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/0.7904, allocations: 82.11 kB / 0.9577 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.784e-05/0.7904, allocations: 339.3 kB / 0.958 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.7907, allocations: 93.55 kB / 0.9581 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.7909, allocations: 150.2 kB / 0.9582 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.7913, allocations: 210.1 kB / 0.9584 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7913, allocations: 0 / 0.9584 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005482/0.7918, allocations: 319.9 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7919, allocations: 5.5 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7919, allocations: 1.375 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.7919, allocations: 4.125 kB / 0.9587 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.7921, allocations: 41.47 kB / 0.9588 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.7921, allocations: 3.656 kB / 0.9588 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002178/0.7923, allocations: 44.25 kB / 0.9588 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.7924, allocations: 17.67 kB / 0.9588 GB, free: 1.973 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.0001518/0.7925, allocations: 173.5 kB / 0.959 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.7926, allocations: 22.59 kB / 0.959 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005439/0.7931, allocations: 272.3 kB / 0.9593 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.7932, allocations: 8.016 kB / 0.9593 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.7932, allocations: 0 / 0.9593 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.7932, allocations: 1.125 kB / 0.9593 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009827/0.7942, allocations: 0.7289 MB / 0.96 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7942, allocations: 0.9688 kB / 0.96 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.7943, allocations: 39.78 kB / 0.96 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.7944, allocations: 6.172 kB / 0.9601 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.7944, allocations: 5.094 kB / 0.9601 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.7944, allocations: 2.406 kB / 0.9601 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7944, allocations: 7.938 kB / 0.9601 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.7949, allocations: 350.8 kB / 0.9604 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.7949, allocations: 100.2 kB / 0.9605 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.145e-05/0.795, allocations: 10.19 kB / 0.9605 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.7952, allocations: 28.88 kB / 0.9605 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.7953, allocations: 38.77 kB / 0.9606 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.7953, allocations: 14.98 kB / 0.9606 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001032/0.7954, allocations: 130.8 kB / 0.9607 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7955, allocations: 0 / 0.9607 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000372/0.7958, allocations: 70.58 kB / 0.9608 GB, free: 0.5078 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.0001746/0.796, allocations: 118.5 kB / 0.9609 GB, free: 416 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005177/0.7965, allocations: 254.9 kB / 0.9611 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.7965, allocations: 0 / 0.9611 GB, free: 308 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/0.7968, allocations: 130.4 kB / 0.9613 GB, free: 252 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.7972, allocations: 33.86 kB / 0.9613 GB, free: 232 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.7983, allocations: 0.5709 MB / 0.9618 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004318/0.7987, allocations: 0.7558 MB / 0.9626 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.7988, allocations: 27.14 kB / 0.9626 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.7988, allocations: 3.938 kB / 0.9626 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of Templates: time 0.008139/0.807, allocations: 3.387 MB / 0.9659 GB, free: 13.27 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/jenkins1/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