Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001097/0.001097, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01051/0.01051, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.542/1.542, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.889/2.889, allocations: 462.7 MB / 0.7364 GB, free: 248 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004258, allocations: 8.875 kB / 0.9028 GB, free: 36.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4273, allocations: 159.6 MB / 1.059 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002833/0.4302, allocations: 1.768 MB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4315, allocations: 0.7168 MB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.4316, allocations: 4 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.4318, allocations: 19.8 kB / 1.061 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.4319, allocations: 35.72 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.4323, allocations: 139.9 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.4327, allocations: 363.2 kB / 1.062 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000329/0.433, allocations: 196.3 kB / 1.062 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001616/0.4332, allocations: 103.5 kB / 1.062 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.4334, allocations: 119.4 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.4334, allocations: 12 kB / 1.062 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.4335, allocations: 16 kB / 1.062 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.25e-05/0.4336, allocations: 51.81 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.4338, allocations: 148.9 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.4341, allocations: 366.9 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4341, allocations: 0 / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4341, allocations: 4 kB / 1.063 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4342, allocations: 0 / 1.063 GB, free: 1.363 MB / 0.8106 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.0007916/0.435, allocations: 0.5145 MB / 1.063 GB, free: 0.8008 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.435, allocations: 8.031 kB / 1.063 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.718e-05/0.4351, allocations: 32.56 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.4354, allocations: 272.4 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.4354, allocations: 28.88 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.4355, allocations: 32.38 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005812/0.4361, allocations: 323.7 kB / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.4361, allocations: 0 / 1.064 GB, free: 76 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.4361, allocations: 12 kB / 1.064 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.4362, allocations: 8 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.4367, allocations: 246.1 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/0.4381, allocations: 0.9441 MB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005159/0.4386, allocations: 256.7 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.4389, allocations: 126 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.4389, allocations: 12.17 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003327/0.4392, allocations: 167.5 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.4392, allocations: 0 / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.0007216/0.44, allocations: 337.3 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.44, allocations: 59.41 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001738/0.4402, allocations: 207.2 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.832e-05/0.4403, allocations: 41.7 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.835e-05/0.4404, allocations: 152.6 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.102e-05/0.4404, allocations: 82.88 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.4405, allocations: 49.69 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.4406, allocations: 334.8 kB / 1.067 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.4408, allocations: 99.95 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.4411, allocations: 149.1 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003752/0.4415, allocations: 218.4 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4415, allocations: 7.938 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000552/0.442, allocations: 312.7 kB / 1.067 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.4421, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4421, allocations: 4 kB / 1.067 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.4421, allocations: 4 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.4423, allocations: 44.06 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.4423, allocations: 11.92 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.4426, allocations: 55.72 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/0.4426, allocations: 19.98 kB / 1.068 GB, free: 12 MB / 0.8262 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.0001804/0.4428, allocations: 177.6 kB / 1.068 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.4428, allocations: 23.7 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005687/0.4434, allocations: 280.2 kB / 1.068 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4434, allocations: 4 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4434, allocations: 4 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4434, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4445, allocations: 0.741 MB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4445, allocations: 0 / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.4446, allocations: 35.92 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4446, allocations: 3.938 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.4447, allocations: 4 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4447, allocations: 3.938 kB / 1.069 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4447, allocations: 3.938 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004933/0.4452, allocations: 371.6 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.029e-05/0.4453, allocations: 96.86 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.4453, allocations: 4 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.4455, allocations: 39.97 kB / 1.069 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.4456, allocations: 43.88 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.4457, allocations: 4 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001029/0.4458, allocations: 136.4 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4458, allocations: 0 / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003043/0.4461, allocations: 67.75 kB / 1.07 GB, free: 9.871 MB / 0.8262 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.000193/0.4463, allocations: 129 kB / 1.07 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.4468, allocations: 255.8 kB / 1.07 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4468, allocations: 0 / 1.07 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/0.4471, allocations: 136.2 kB / 1.07 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.4474, allocations: 31.36 kB / 1.07 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008749/0.4483, allocations: 0.5619 MB / 1.071 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.4487, allocations: 0.7605 MB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001054/0.4488, allocations: 30.28 kB / 1.071 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.068e-05/0.4489, allocations: 27.42 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4489, allocations: 0 / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of Templates: time 0.00616/0.455, allocations: 2.655 MB / 1.074 GB, free: 5.273 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches