Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|speSig.y|masFlo.y|varSpePumSta.y.1.|varSpePumSta.y.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.513/1.513, allocations: 249.5 MB / 257 MB, free: 6.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 180.9 kB / 316.3 MB, free: 3.289 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.821/1.821, allocations: 205.3 MB / 0.5671 GB, free: 15.83 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009185/0.0009188, allocations: 85.92 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.929e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2375, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8451/1.083, allocations: 137.8 MB / 1.02 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/1.083, allocations: 91.06 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02469/1.108, allocations: 9.423 MB / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.515e-06/1.108, allocations: 0 / 1.029 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.461e-05/1.108, allocations: 19.92 kB / 1.029 GB, free: 8.074 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001452/1.109, allocations: 0.7194 MB / 1.03 GB, free: 7.336 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.916e-05/1.109, allocations: 11.97 kB / 1.03 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/1.109, allocations: 55.34 kB / 1.03 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006546/1.11, allocations: 376.3 kB / 1.03 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/1.11, allocations: 19.5 kB / 1.03 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/1.11, allocations: 32 kB / 1.03 GB, free: 6.883 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000757/1.111, allocations: 366.7 kB / 1.031 GB, free: 6.668 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007773/1.112, allocations: 440.5 kB / 1.031 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/1.112, allocations: 3.953 kB / 1.031 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/1.112, allocations: 7.984 kB / 1.031 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/1.112, allocations: 12 kB / 1.031 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/1.114, allocations: 1.334 MB / 1.032 GB, free: 5.309 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006905/1.115, allocations: 409.1 kB / 1.033 GB, free: 5.043 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002661/1.115, allocations: 196.4 kB / 1.033 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.413e-05/1.115, allocations: 8.422 kB / 1.033 GB, free: 4.914 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004288/1.116, allocations: 246.2 kB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 2.275e-06/1.116, allocations: 0 / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.0006887/1.116, allocations: 371.8 kB / 1.034 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/1.116, allocations: 62.97 kB / 1.034 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003131/1.117, allocations: 299.5 kB / 1.034 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/1.117, allocations: 41.64 kB / 1.034 GB, free: 4.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/1.117, allocations: 218.1 kB / 1.034 GB, free: 3.922 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/1.117, allocations: 133 kB / 1.034 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/1.117, allocations: 0 / 1.034 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.117, allocations: 355.9 kB / 1.035 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/1.117, allocations: 157 kB / 1.035 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/1.118, allocations: 229.7 kB / 1.035 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/1.118, allocations: 140.7 kB / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/1.118, allocations: 0 / 1.035 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006843/1.119, allocations: 461.9 kB / 1.036 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.663e-05/1.119, allocations: 39.25 kB / 1.036 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/1.119, allocations: 0 / 1.036 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/1.119, allocations: 4 kB / 1.036 GB, free: 2.715 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/1.119, allocations: 78.64 kB / 1.036 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/1.119, allocations: 7.938 kB / 1.036 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/1.12, allocations: 71.94 kB / 1.036 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-05/1.12, allocations: 23.56 kB / 1.036 GB, free: 2.547 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0001634/1.12, allocations: 155.3 kB / 1.036 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/1.12, allocations: 47.45 kB / 1.036 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007757/1.121, allocations: 441.5 kB / 1.036 GB, free: 2.023 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/1.121, allocations: 8 kB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.121, allocations: 0 / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.121, allocations: 7.984 kB / 1.036 GB, free: 2.008 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/1.122, allocations: 1.067 MB / 1.037 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.122, allocations: 0 / 1.037 GB, free: 1.152 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/1.122, allocations: 63.02 kB / 1.038 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/1.122, allocations: 0 / 1.038 GB, free: 1.094 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/1.123, allocations: 7 kB / 1.038 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.115e-06/1.123, allocations: 11.94 kB / 1.038 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.123, allocations: 0 / 1.038 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006786/1.123, allocations: 0.4956 MB / 1.038 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/1.123, allocations: 124.2 kB / 1.038 GB, free: 0.5234 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/1.123, allocations: 4 kB / 1.038 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/1.124, allocations: 55.31 kB / 1.038 GB, free: 480 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002274/1.124, allocations: 82.52 kB / 1.038 GB, free: 412 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/1.124, allocations: 27.42 kB / 1.038 GB, free: 388 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002481/1.124, allocations: 204.5 kB / 1.038 GB, free: 224 kB / 0.6511 GB Notification: Performance of sort global known variables: time 2.01e-07/1.124, allocations: 0 / 1.038 GB, free: 224 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000547/1.125, allocations: 95.69 kB / 1.039 GB, free: 132 kB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000845/1.126, allocations: 345.4 kB / 1.039 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006818/1.126, allocations: 472.6 kB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.126, allocations: 4.062 kB / 1.039 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003381/1.127, allocations: 226.3 kB / 1.04 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/1.127, allocations: 46.84 kB / 1.04 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/1.129, allocations: 0.5926 MB / 1.04 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/1.129, allocations: 0.859 MB / 1.041 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002546/1.129, allocations: 63.44 kB / 1.041 GB, free: 13.87 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/1.13, allocations: 43.42 kB / 1.041 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of SimCode: time 2.5e-07/1.13, allocations: 0 / 1.041 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of Templates: time 0.01008/1.14, allocations: 4.985 MB / 1.046 GB, free: 8.914 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches