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.001296/0.001295, allocations: 117 kB / 16.37 MB, free: 6.012 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.001446/0.001446, allocations: 191.8 kB / 17.31 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.201/2.201, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 62.89 kB / 0.814 GB, free: 32.69 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.273, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.003544/0.2766, allocations: 2.046 MB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2778, allocations: 0.7014 MB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.2779, allocations: 4 kB / 0.9538 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.2781, allocations: 43.53 kB / 0.9539 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2782, allocations: 39.59 kB / 0.9539 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.2787, allocations: 159.8 kB / 0.954 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004132/0.2791, allocations: 403.1 kB / 0.9544 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000362/0.2795, allocations: 237.7 kB / 0.9547 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.2797, allocations: 143.5 kB / 0.9548 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.2799, allocations: 147.4 kB / 0.9549 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.2799, allocations: 36 kB / 0.955 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.834e-05/0.28, allocations: 47.98 kB / 0.955 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.381e-05/0.2801, allocations: 87.69 kB / 0.9551 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.2803, allocations: 147.3 kB / 0.9552 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.2807, allocations: 422.5 kB / 0.9556 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2807, allocations: 0 / 0.9556 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2807, allocations: 0 / 0.9556 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2807, allocations: 0 / 0.9556 GB, free: 3.414 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.0008272/0.2815, allocations: 0.5729 MB / 0.9562 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.2816, allocations: 8.031 kB / 0.9562 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.126e-05/0.2817, allocations: 32.56 kB / 0.9562 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.282, allocations: 267.8 kB / 0.9565 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.282, allocations: 28.94 kB / 0.9565 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.2821, allocations: 28.38 kB / 0.9566 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005455/0.2826, allocations: 327.9 kB / 0.9569 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2826, allocations: 0 / 0.9569 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.2827, allocations: 12 kB / 0.9569 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2827, allocations: 8 kB / 0.9569 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.2831, allocations: 230.1 kB / 0.9571 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.2845, allocations: 0.9284 MB / 0.958 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004867/0.285, allocations: 248.6 kB / 0.9582 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002129/0.2852, allocations: 125.2 kB / 0.9584 GB, free: 460 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.2853, allocations: 4.234 kB / 0.9584 GB, free: 456 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/0.2856, allocations: 153 kB / 0.9585 GB, free: 292 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.833e-06/0.2856, allocations: 4 kB / 0.9585 GB, free: 288 kB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.0006958/0.2863, allocations: 333.2 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.2863, allocations: 55.41 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001732/0.2865, allocations: 202.2 kB / 0.9591 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.2865, allocations: 45.69 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.2867, allocations: 148.6 kB / 0.9593 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.2867, allocations: 78.94 kB / 0.9593 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2868, allocations: 81.67 kB / 0.9594 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.287, allocations: 334.8 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.2872, allocations: 99.95 kB / 0.9598 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.2874, allocations: 141.1 kB / 0.96 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003534/0.2878, allocations: 212.7 kB / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2878, allocations: 0 / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005135/0.2883, allocations: 308.8 kB / 0.9605 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2883, allocations: 9.719 kB / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.2883, allocations: 4 kB / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.2884, allocations: 0 / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.2886, allocations: 43.91 kB / 0.9605 GB, free: 14.13 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.2886, allocations: 7.938 kB / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/0.2888, allocations: 43.66 kB / 0.9606 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.2889, allocations: 19.98 kB / 0.9606 GB, free: 14.06 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.0001672/0.289, allocations: 173.7 kB / 0.9608 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/0.2891, allocations: 27.66 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005464/0.2896, allocations: 276.7 kB / 0.961 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2896, allocations: 4 kB / 0.9611 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2897, allocations: 3.984 kB / 0.9611 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.2897, allocations: 0 / 0.9611 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009568/0.2906, allocations: 0.7255 MB / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2906, allocations: 0 / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.2908, allocations: 35.91 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2908, allocations: 4 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.2908, allocations: 4 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2908, allocations: 0 / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2908, allocations: 0 / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004622/0.2913, allocations: 360.8 kB / 0.9621 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.2914, allocations: 100.8 kB / 0.9622 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.2914, allocations: 8 kB / 0.9623 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.2916, allocations: 27.97 kB / 0.9623 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.635e-05/0.2917, allocations: 43.83 kB / 0.9623 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.2917, allocations: 4 kB / 0.9623 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001011/0.2919, allocations: 141.6 kB / 0.9625 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2919, allocations: 0 / 0.9625 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003103/0.2922, allocations: 63.84 kB / 0.9625 GB, free: 11.98 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.000161/0.2923, allocations: 117.5 kB / 0.9626 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004915/0.2928, allocations: 256.3 kB / 0.9629 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2929, allocations: 4.125 kB / 0.9629 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.2931, allocations: 127.8 kB / 0.963 GB, free: 11.47 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.2934, allocations: 43.91 kB / 0.963 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007752/0.2942, allocations: 462.5 kB / 0.9635 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.2946, allocations: 0.7603 MB / 0.9642 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.2947, allocations: 34.27 kB / 0.9643 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.695e-05/0.2948, allocations: 27.44 kB / 0.9643 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of SimCode: time 3.847e-06/0.2948, allocations: 0 / 0.9643 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of Templates: time 0.006283/0.3011, allocations: 3.049 MB / 0.9673 GB, free: 7.082 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 -s cvode -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