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.00125/0.00125, allocations: 108.5 kB / 16.27 MB, free: 6.355 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.00112/0.00112, allocations: 192.8 kB / 17.2 MB, free: 5.953 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.438/1.438, allocations: 222.9 MB / 240.9 MB, free: 15.21 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.275/2.275, allocations: 390.3 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001312, allocations: 66.34 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.309, allocations: 140.4 MB / 0.9503 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003902/0.313, allocations: 2.042 MB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.3145, allocations: 0.7014 MB / 0.9529 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.3147, allocations: 7.938 kB / 0.953 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.3149, allocations: 39.53 kB / 0.953 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.3151, allocations: 43.59 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.3157, allocations: 159.8 kB / 0.9532 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.3162, allocations: 395.2 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004396/0.3166, allocations: 251.5 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.3169, allocations: 135.6 kB / 0.9539 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002198/0.3171, allocations: 143.4 kB / 0.9541 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.972e-05/0.3172, allocations: 36 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3173, allocations: 51.94 kB / 0.9542 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.3174, allocations: 87.73 kB / 0.9542 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.3176, allocations: 143.3 kB / 0.9544 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.318, allocations: 407 kB / 0.9548 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.318, allocations: 0 / 0.9548 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.483e-06/0.318, allocations: 0 / 0.9548 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.3181, allocations: 4 kB / 0.9548 GB, free: 4.27 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.0009854/0.319, allocations: 0.5669 MB / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3191, allocations: 8.031 kB / 0.9553 GB, free: 3.645 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.091e-05/0.3192, allocations: 40.48 kB / 0.9554 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.3195, allocations: 271.8 kB / 0.9556 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3196, allocations: 28.94 kB / 0.9557 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.3196, allocations: 28.38 kB / 0.9557 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.3202, allocations: 316 kB / 0.956 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3202, allocations: 0 / 0.956 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/0.3203, allocations: 12 kB / 0.956 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.3203, allocations: 4 kB / 0.956 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.3208, allocations: 238.1 kB / 0.9562 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.3223, allocations: 0.9479 MB / 0.9572 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005006/0.3228, allocations: 239.3 kB / 0.9574 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.323, allocations: 125.2 kB / 0.9575 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/0.3231, allocations: 12.22 kB / 0.9575 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003616/0.3234, allocations: 153 kB / 0.9577 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.3234, allocations: 0 / 0.9577 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0007046/0.3241, allocations: 333.2 kB / 0.958 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.3242, allocations: 63.39 kB / 0.958 GB, free: 0.7266 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3244, allocations: 202.2 kB / 0.9582 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.3245, allocations: 37.7 kB / 0.9583 GB, free: 488 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.3246, allocations: 152.6 kB / 0.9584 GB, free: 332 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.177e-05/0.3247, allocations: 78.94 kB / 0.9585 GB, free: 252 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.3248, allocations: 81.67 kB / 0.9586 GB, free: 164 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.325, allocations: 334.8 kB / 0.9589 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/0.3252, allocations: 95.95 kB / 0.959 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.3254, allocations: 157 kB / 0.9591 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.3258, allocations: 208.8 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3258, allocations: 0 / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005508/0.3264, allocations: 308.6 kB / 0.9596 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3264, allocations: 4.156 kB / 0.9596 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.3264, allocations: 11.94 kB / 0.9596 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3264, allocations: 0 / 0.9596 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3266, allocations: 39.91 kB / 0.9597 GB, free: 14.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.3267, allocations: 7.984 kB / 0.9597 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.3269, allocations: 47.7 kB / 0.9597 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.3269, allocations: 12 kB / 0.9597 GB, free: 14.91 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.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.0001686/0.3271, allocations: 173.7 kB / 0.9599 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.3272, allocations: 27.7 kB / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005351/0.3277, allocations: 280.7 kB / 0.9602 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3277, allocations: 4 kB / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.3277, allocations: 0 / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3277, allocations: 0 / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.3288, allocations: 0.7327 MB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.3288, allocations: 3.938 kB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.3289, allocations: 23.98 kB / 0.9609 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3289, allocations: 4 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.329, allocations: 4 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.329, allocations: 3.938 kB / 0.961 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.329, allocations: 7.984 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004971/0.3295, allocations: 355.6 kB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.3296, allocations: 96.77 kB / 0.9614 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.3296, allocations: 12 kB / 0.9614 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.3298, allocations: 23.97 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.514e-05/0.3299, allocations: 39.89 kB / 0.9615 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.258e-05/0.3299, allocations: 19.98 kB / 0.9615 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.659e-05/0.33, allocations: 129.6 kB / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.81e-07/0.33, allocations: 0 / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003274/0.3304, allocations: 67.83 kB / 0.9617 GB, free: 12.82 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.active,heaCon.off.active,$cse1,$cse2,$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 (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.000166/0.3306, allocations: 117.4 kB / 0.9618 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005791/0.3311, allocations: 276.4 kB / 0.962 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3312, allocations: 0 / 0.962 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.3314, allocations: 123.9 kB / 0.9622 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.3317, allocations: 27.98 kB / 0.9622 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008893/0.3326, allocations: 0.4985 MB / 0.9627 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.333, allocations: 0.7564 MB / 0.9634 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.526e-05/0.3331, allocations: 31.42 kB / 0.9634 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2e-07/0.3331, allocations: 0 / 0.9634 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.006043/0.3392, allocations: 3.385 MB / 0.9668 GB, free: 7.555 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