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.001719/0.001719, allocations: 105.2 kB / 15.99 MB, free: 6.348 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.001679/0.001679, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.494/1.494, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.411/2.411, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 62.33 kB / 0.8127 GB, free: 33.2 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3222, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.005285/0.3276, allocations: 2.124 MB / 0.9518 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.3292, allocations: 0.7168 MB / 0.9525 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002949/0.3296, allocations: 8 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002317/0.3298, allocations: 23.8 kB / 0.9526 GB, free: 6.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.33, allocations: 35.7 kB / 0.9526 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.3307, allocations: 127.9 kB / 0.9527 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006023/0.3313, allocations: 403.1 kB / 0.9531 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004831/0.3318, allocations: 249.4 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.3321, allocations: 135.6 kB / 0.9535 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.3324, allocations: 151.3 kB / 0.9536 GB, free: 5.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.3324, allocations: 36 kB / 0.9537 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3326, allocations: 47.98 kB / 0.9537 GB, free: 5.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.552e-05/0.3327, allocations: 75.83 kB / 0.9538 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001717/0.3329, allocations: 151.2 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004191/0.3333, allocations: 331.6 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3333, allocations: 0 / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.635e-06/0.3333, allocations: 0 / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.3333, allocations: 0 / 0.9542 GB, free: 4.648 MB / 0.7325 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.001097/0.3344, allocations: 0.5728 MB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3345, allocations: 8.031 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3346, allocations: 32.56 kB / 0.9548 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003758/0.335, allocations: 267.9 kB / 0.9551 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.335, allocations: 28.94 kB / 0.9551 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.337e-05/0.3351, allocations: 36.36 kB / 0.9552 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/0.3357, allocations: 319.9 kB / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3358, allocations: 0 / 0.9555 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.3358, allocations: 12 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.3358, allocations: 8 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005126/0.3363, allocations: 238.1 kB / 0.9557 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.3379, allocations: 0.9323 MB / 0.9566 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.3384, allocations: 243.6 kB / 0.9569 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.3387, allocations: 125.2 kB / 0.957 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.3387, allocations: 4.234 kB / 0.957 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003782/0.3391, allocations: 159.5 kB / 0.9571 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.984e-06/0.3391, allocations: 0 / 0.9571 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0007199/0.3398, allocations: 330 kB / 0.9574 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3399, allocations: 59.41 kB / 0.9575 GB, free: 1.109 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.3401, allocations: 202.2 kB / 0.9577 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.3401, allocations: 41.69 kB / 0.9577 GB, free: 0.8555 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3403, allocations: 144.6 kB / 0.9579 GB, free: 0.7109 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.3403, allocations: 86.92 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.3405, allocations: 81.67 kB / 0.958 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3406, allocations: 338.8 kB / 0.9584 GB, free: 204 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.3408, allocations: 99.95 kB / 0.9584 GB, free: 104 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002586/0.3411, allocations: 153 kB / 0.9586 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.3415, allocations: 212.8 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3415, allocations: 0 / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005762/0.3421, allocations: 308.7 kB / 0.9591 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.3421, allocations: 4 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3421, allocations: 4 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.3422, allocations: 4 kB / 0.9591 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.3424, allocations: 39.91 kB / 0.9591 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.3424, allocations: 4 kB / 0.9591 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002243/0.3426, allocations: 47.66 kB / 0.9592 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.3427, allocations: 16.08 kB / 0.9592 GB, free: 15.28 MB / 0.7481 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.0002/0.3429, allocations: 177.7 kB / 0.9594 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.874e-05/0.3429, allocations: 19.72 kB / 0.9594 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005492/0.3435, allocations: 272.7 kB / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3435, allocations: 4 kB / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3435, allocations: 0 / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.3435, allocations: 7.984 kB / 0.9597 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.3445, allocations: 0.733 MB / 0.9604 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3446, allocations: 0 / 0.9604 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.3447, allocations: 31.91 kB / 0.9604 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3447, allocations: 0 / 0.9604 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3448, allocations: 8 kB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3448, allocations: 4 kB / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3448, allocations: 0 / 0.9604 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004915/0.3453, allocations: 355 kB / 0.9608 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.3454, allocations: 108.8 kB / 0.9609 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.3454, allocations: 4 kB / 0.9609 GB, free: 13.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.3456, allocations: 31.97 kB / 0.9609 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3457, allocations: 35.89 kB / 0.9609 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3457, allocations: 8 kB / 0.9609 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001131/0.3459, allocations: 133.6 kB / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.3459, allocations: 0 / 0.9611 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003405/0.3462, allocations: 67.84 kB / 0.9611 GB, free: 13.2 MB / 0.7481 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.000184/0.3464, allocations: 128.9 kB / 0.9613 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005913/0.347, allocations: 264.6 kB / 0.9615 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.347, allocations: 0 / 0.9615 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002293/0.3472, allocations: 127.8 kB / 0.9616 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.3476, allocations: 35.08 kB / 0.9617 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009405/0.3486, allocations: 0.5787 MB / 0.9622 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.3489, allocations: 0.7603 MB / 0.963 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.349, allocations: 27.42 kB / 0.963 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.349, allocations: 0 / 0.963 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of Templates: time 0.006738/0.3558, allocations: 3.398 MB / 0.9663 GB, free: 7.836 MB / 0.7481 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