Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 387.1 MB / 399.7 MB, free: 9.488 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 165 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 221.3 MB / 0.7871 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 106.2 kB / 0.9267 GB, free: 13.91 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.567e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3015, allocations: 142.3 MB / 1.212 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9233/1.225, allocations: 159.6 MB / 1.368 GB, free: 19.06 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/1.225, allocations: 101.6 kB / 1.368 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03258/1.258, allocations: 14.19 MB / 1.382 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.258, allocations: 0 / 1.382 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.471e-05/1.258, allocations: 15.22 kB / 1.382 GB, free: 32.45 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001227/1.259, allocations: 0.8482 MB / 1.383 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.259, allocations: 11.66 kB / 1.383 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/1.259, allocations: 73.72 kB / 1.383 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006472/1.26, allocations: 456.9 kB / 1.384 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/1.26, allocations: 49.81 kB / 1.384 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.302e-05/1.26, allocations: 61.48 kB / 1.384 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/1.261, allocations: 0.5255 MB / 1.384 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/1.261, allocations: 3.953 kB / 1.384 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/1.261, allocations: 18.34 kB / 1.384 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/1.261, allocations: 15.41 kB / 1.384 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005964/1.262, allocations: 420.7 kB / 1.385 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/1.264, allocations: 1.54 MB / 1.386 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005829/1.264, allocations: 462.5 kB / 1.387 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/1.264, allocations: 218.9 kB / 1.387 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/1.264, allocations: 8.281 kB / 1.387 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004138/1.265, allocations: 304.2 kB / 1.387 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=63): time 2.735e-06/1.265, allocations: 4 kB / 1.387 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=63): time 0.0006786/1.266, allocations: 455.1 kB / 1.388 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/1.266, allocations: 117.7 kB / 1.388 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004227/1.266, allocations: 458.2 kB / 1.388 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/1.266, allocations: 57.88 kB / 1.388 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/1.266, allocations: 256 kB / 1.388 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.541e-05/1.266, allocations: 153.3 kB / 1.389 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/1.266, allocations: 16.34 kB / 1.389 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/1.266, allocations: 367.9 kB / 1.389 GB, free: 29.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000266/1.267, allocations: 181.6 kB / 1.389 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/1.267, allocations: 302.3 kB / 1.389 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/1.267, allocations: 205.8 kB / 1.39 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/1.267, allocations: 0 / 1.39 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007353/1.268, allocations: 0.5836 MB / 1.39 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/1.268, allocations: 40.91 kB / 1.39 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.268, allocations: 3.953 kB / 1.39 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/1.268, allocations: 11.56 kB / 1.39 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003405/1.269, allocations: 81.14 kB / 1.39 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.269, allocations: 3.844 kB / 1.39 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003686/1.269, allocations: 84.78 kB / 1.39 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/1.269, allocations: 26.81 kB / 1.39 GB, free: 28.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/1.269, allocations: 184.9 kB / 1.391 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/1.269, allocations: 46.16 kB / 1.391 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007975/1.27, allocations: 0.5437 MB / 1.391 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.27, allocations: 7.797 kB / 1.391 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.27, allocations: 0 / 1.391 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/1.27, allocations: 7.828 kB / 1.391 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/1.272, allocations: 1.325 MB / 1.392 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.272, allocations: 0 / 1.392 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002327/1.272, allocations: 58.06 kB / 1.392 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.272, allocations: 7.969 kB / 1.392 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/1.272, allocations: 15.02 kB / 1.392 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.272, allocations: 3.875 kB / 1.392 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/1.272, allocations: 0 / 1.392 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006859/1.273, allocations: 0.5985 MB / 1.393 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.664e-05/1.273, allocations: 142.2 kB / 1.393 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.842e-05/1.273, allocations: 22.12 kB / 1.393 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/1.273, allocations: 65.12 kB / 1.393 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/1.273, allocations: 88.17 kB / 1.393 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/1.273, allocations: 23.36 kB / 1.393 GB, free: 27.52 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002926/1.274, allocations: 330 kB / 1.394 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.41e-07/1.274, allocations: 4 kB / 1.394 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004672/1.274, allocations: 156.4 kB / 1.394 GB, free: 27.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001368/1.276, allocations: 0.6494 MB / 1.394 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006964/1.276, allocations: 0.5412 MB / 1.395 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.276, allocations: 0 / 1.395 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003337/1.277, allocations: 268.4 kB / 1.395 GB, free: 26.95 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/1.277, allocations: 91.34 kB / 1.395 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/1.278, allocations: 0.7705 MB / 1.396 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/1.279, allocations: 0.9017 MB / 1.397 GB, free: 25.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002827/1.279, allocations: 94.36 kB / 1.397 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/1.279, allocations: 57.66 kB / 1.397 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of SimCode: time 3.3e-07/1.279, allocations: 0 / 1.397 GB, free: 25.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.01189/1.291, allocations: 7.281 MB / 1.404 GB, free: 19.9 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches