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.392/1.392, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 191.4 kB / 326.5 MB, free: 2.238 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.855/1.855, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0008974/0.0008974, allocations: 95.72 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 13.72 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2415, allocations: 106.3 MB / 0.9001 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.4253, allocations: 137.6 MB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003497/0.4257, allocations: 99.94 kB / 1.035 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02519/0.451, allocations: 9.578 MB / 1.044 GB, free: 12.35 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.255e-06/0.451, allocations: 3.938 kB / 1.044 GB, free: 12.35 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.783e-05/0.4511, allocations: 8 kB / 1.044 GB, free: 12.34 MB / 0.698 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.001377/0.4524, allocations: 0.7581 MB / 1.045 GB, free: 11.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4525, allocations: 11.97 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.4526, allocations: 55.34 kB / 1.045 GB, free: 11.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.4532, allocations: 386.2 kB / 1.045 GB, free: 11.04 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/0.4533, allocations: 37 kB / 1.045 GB, free: 11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.4533, allocations: 52 kB / 1.045 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.4544, allocations: 0.5254 MB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4544, allocations: 0 / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.431e-05/0.4544, allocations: 23.94 kB / 1.046 GB, free: 10.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.4545, allocations: 12 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.4554, allocations: 455.8 kB / 1.046 GB, free: 9.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.4576, allocations: 1.438 MB / 1.048 GB, free: 8.438 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009626/0.4586, allocations: 496.8 kB / 1.048 GB, free: 7.945 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/0.4587, allocations: 12.81 kB / 1.048 GB, free: 7.934 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005714/0.4593, allocations: 294.9 kB / 1.048 GB, free: 7.633 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 2.235e-06/0.4593, allocations: 0 / 1.048 GB, free: 7.633 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001312/0.4606, allocations: 0.6156 MB / 1.049 GB, free: 7.012 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.4607, allocations: 71.91 kB / 1.049 GB, free: 6.926 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.461, allocations: 317.8 kB / 1.049 GB, free: 6.613 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.641e-05/0.4611, allocations: 53.7 kB / 1.049 GB, free: 6.555 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.4613, allocations: 213.2 kB / 1.05 GB, free: 6.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.4614, allocations: 150 kB / 1.05 GB, free: 6.191 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.093e-05/0.4615, allocations: 16 kB / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4616, allocations: 346.8 kB / 1.05 GB, free: 5.828 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.462, allocations: 197.2 kB / 1.05 GB, free: 5.637 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.4625, allocations: 277.9 kB / 1.051 GB, free: 5.344 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004057/0.4629, allocations: 204.9 kB / 1.051 GB, free: 5.137 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4629, allocations: 0 / 1.051 GB, free: 5.137 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001055/0.464, allocations: 0.5884 MB / 1.051 GB, free: 4.535 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.464, allocations: 33.69 kB / 1.051 GB, free: 4.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.464, allocations: 4 kB / 1.051 GB, free: 4.492 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.4641, allocations: 4 kB / 1.051 GB, free: 4.488 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.4644, allocations: 75.83 kB / 1.051 GB, free: 4.414 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.4644, allocations: 4 kB / 1.051 GB, free: 4.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.4648, allocations: 91.67 kB / 1.052 GB, free: 4.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.4649, allocations: 23.94 kB / 1.052 GB, free: 4.297 MB / 0.698 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 () * Number of clocked 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.0003287/0.4652, allocations: 245.6 kB / 1.052 GB, free: 4.047 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.909e-05/0.4653, allocations: 35.53 kB / 1.052 GB, free: 4.012 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.4663, allocations: 0.5381 MB / 1.052 GB, free: 3.469 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.4663, allocations: 4 kB / 1.052 GB, free: 3.465 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4663, allocations: 4 kB / 1.052 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4663, allocations: 4 kB / 1.052 GB, free: 3.457 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/0.4683, allocations: 1.235 MB / 1.054 GB, free: 2.164 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.4683, allocations: 8 kB / 1.054 GB, free: 2.156 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.4685, allocations: 55.91 kB / 1.054 GB, free: 2.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/0.4685, allocations: 3.953 kB / 1.054 GB, free: 2.098 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/0.4686, allocations: 19.92 kB / 1.054 GB, free: 2.078 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4686, allocations: 4 kB / 1.054 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4686, allocations: 0 / 1.054 GB, free: 2.074 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.4695, allocations: 0.5852 MB / 1.054 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.4697, allocations: 124.5 kB / 1.054 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.839e-05/0.4697, allocations: 15.95 kB / 1.054 GB, free: 1.316 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.4701, allocations: 67.94 kB / 1.054 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.4702, allocations: 80.44 kB / 1.054 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.4703, allocations: 16 kB / 1.054 GB, free: 1.156 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002277/0.4705, allocations: 225.9 kB / 1.055 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4705, allocations: 0 / 1.055 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000478/0.471, allocations: 111.9 kB / 1.055 GB, free: 0.8281 MB / 0.698 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) * Number of clocked states: 0 () * 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.0009623/0.472, allocations: 408.3 kB / 1.055 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.5059/0.9779, allocations: 0.5525 MB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.9779, allocations: 0 / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/0.9787, allocations: 265.3 kB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005606/0.9793, allocations: 56.3 kB / 1.056 GB, free: 147.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.9811, allocations: 0.9768 MB / 1.057 GB, free: 147.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000381/0.9815, allocations: 0.8603 MB / 1.058 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002981/0.9818, allocations: 66.83 kB / 1.058 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.982, allocations: 42.75 kB / 1.058 GB, free: 146.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/0.982, allocations: 0 / 1.058 GB, free: 146.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01114/0.9931, allocations: 5.228 MB / 1.063 GB, free: 146.5 MB / 0.698 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