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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.001208/0.001208, allocations: 185.2 kB / 316 MB, free: 3.527 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.663/1.663, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0009124/0.0009125, allocations: 87.33 kB / 0.671 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.875e-06/7.905e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2512, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7493/1.001, allocations: 137.9 MB / 1.019 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/1.001, allocations: 96.83 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02601/1.027, allocations: 9.126 MB / 1.028 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.138e-05/1.027, allocations: 12 kB / 1.028 GB, free: 9.262 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.001465/1.029, allocations: 0.7286 MB / 1.029 GB, free: 8.512 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.029, allocations: 8.031 kB / 1.029 GB, free: 8.504 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/1.029, allocations: 55.34 kB / 1.029 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/1.029, allocations: 384.9 kB / 1.029 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.666e-05/1.029, allocations: 16 kB / 1.029 GB, free: 8.082 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/1.029, allocations: 35.31 kB / 1.029 GB, free: 8.051 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007593/1.03, allocations: 372.6 kB / 1.03 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008575/1.031, allocations: 436.2 kB / 1.03 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/1.031, allocations: 0 / 1.03 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/1.031, allocations: 4 kB / 1.03 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/1.031, allocations: 8 kB / 1.03 GB, free: 7.504 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/1.034, allocations: 1.341 MB / 1.031 GB, free: 6.477 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008169/1.034, allocations: 395.4 kB / 1.032 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/1.035, allocations: 190.3 kB / 1.032 GB, free: 6.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/1.035, allocations: 4.438 kB / 1.032 GB, free: 6.086 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/1.035, allocations: 236.3 kB / 1.032 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 2.305e-06/1.035, allocations: 0 / 1.032 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.000689/1.036, allocations: 346.3 kB / 1.033 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/1.036, allocations: 67.27 kB / 1.033 GB, free: 5.566 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/1.036, allocations: 300.9 kB / 1.033 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-05/1.036, allocations: 41.56 kB / 1.033 GB, free: 5.289 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/1.037, allocations: 181.8 kB / 1.033 GB, free: 5.129 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/1.037, allocations: 134.3 kB / 1.033 GB, free: 5.016 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/1.037, allocations: 4 kB / 1.033 GB, free: 5.012 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001746/1.037, allocations: 352 kB / 1.034 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003306/1.037, allocations: 158.1 kB / 1.034 GB, free: 4.582 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/1.038, allocations: 226.3 kB / 1.034 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/1.038, allocations: 149.4 kB / 1.034 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/1.038, allocations: 0 / 1.034 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0007692/1.039, allocations: 447.8 kB / 1.035 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.039, allocations: 12 kB / 1.035 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/1.039, allocations: 0 / 1.035 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.355e-05/1.039, allocations: 4 kB / 1.035 GB, free: 3.957 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/1.039, allocations: 78.27 kB / 1.035 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.698e-05/1.039, allocations: 8 kB / 1.035 GB, free: 3.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/1.04, allocations: 75.69 kB / 1.035 GB, free: 3.805 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.852e-05/1.04, allocations: 23.31 kB / 1.035 GB, free: 3.785 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.0001842/1.04, allocations: 155.6 kB / 1.035 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/1.04, allocations: 43.52 kB / 1.035 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008699/1.041, allocations: 426.5 kB / 1.035 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/1.041, allocations: 8 kB / 1.035 GB, free: 3.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.041, allocations: 7.906 kB / 1.035 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.254e-05/1.041, allocations: 3.984 kB / 1.035 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001716/1.043, allocations: 1.045 MB / 1.036 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.043, allocations: 4 kB / 1.036 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/1.043, allocations: 63.64 kB / 1.036 GB, free: 2.355 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.043, allocations: 4 kB / 1.036 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/1.043, allocations: 7.234 kB / 1.036 GB, free: 2.348 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/1.043, allocations: 4 kB / 1.036 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/1.043, allocations: 4 kB / 1.036 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007024/1.044, allocations: 487.9 kB / 1.037 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.435e-05/1.044, allocations: 123.9 kB / 1.037 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/1.044, allocations: 0 / 1.037 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/1.044, allocations: 71.78 kB / 1.037 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001899/1.044, allocations: 78.66 kB / 1.037 GB, free: 1.676 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/1.045, allocations: 19.92 kB / 1.037 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002157/1.045, allocations: 205.5 kB / 1.037 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004328/1.045, allocations: 87.98 kB / 1.038 GB, free: 1.414 MB / 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.0007769/1.046, allocations: 322.9 kB / 1.038 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007402/1.047, allocations: 449.2 kB / 1.038 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.047, allocations: 0 / 1.038 GB, free: 0.8477 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003306/1.047, allocations: 232.5 kB / 1.038 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/1.047, allocations: 43.89 kB / 1.039 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/1.049, allocations: 0.604 MB / 1.039 GB, free: 140 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/1.05, allocations: 0.9035 MB / 1.04 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of SimCode: time 3.31e-07/1.05, allocations: 0 / 1.04 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of Templates: time 0.01192/1.062, allocations: 5.982 MB / 1.046 GB, free: 9.301 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