Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.TSet|chi.TEvaEnt|chi.TEvaLvg|chi.TConEnt|chi.TConLvg|chi.PLR1|chi.PLR2|chi.CR|chi.COP",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001144/0.001144, allocations: 185 kB / 498.1 MB, free: 5.762 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.619/1.619, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001017/0.001018, allocations: 100.3 kB / 0.9346 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004557, allocations: 13.61 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.36, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.501, allocations: 429.7 MB / 1.642 GB, free: 14.64 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/1.501, allocations: 89.89 kB / 1.643 GB, free: 14.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.974/3.475, allocations: 0.6396 GB / 2.282 GB, free: 46.67 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.575e-06/3.476, allocations: 0 / 2.282 GB, free: 46.67 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001462/3.476, allocations: 47.92 kB / 2.282 GB, free: 46.62 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.004738/3.48, allocations: 2.095 MB / 2.284 GB, free: 44.46 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/3.48, allocations: 12.03 kB / 2.284 GB, free: 44.45 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0032/3.484, allocations: 0.6368 MB / 2.285 GB, free: 43.81 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003442/3.487, allocations: 1.692 MB / 2.287 GB, free: 42.07 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/3.487, allocations: 153.3 kB / 2.287 GB, free: 41.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/3.487, allocations: 100 kB / 2.287 GB, free: 41.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/3.49, allocations: 1.338 MB / 2.288 GB, free: 40.43 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/3.49, allocations: 3.984 kB / 2.288 GB, free: 40.43 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/3.49, allocations: 39.98 kB / 2.288 GB, free: 40.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.911e-05/3.49, allocations: 32 kB / 2.288 GB, free: 40.36 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/3.493, allocations: 1.393 MB / 2.29 GB, free: 38.96 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00651/3.5, allocations: 5.437 MB / 2.295 GB, free: 33.18 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/3.502, allocations: 0.9716 MB / 2.296 GB, free: 32.21 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/3.503, allocations: 1.247 MB / 2.297 GB, free: 30.68 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001574/3.504, allocations: 0.7211 MB / 2.298 GB, free: 29.95 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 4.178e-06/3.504, allocations: 0 / 2.298 GB, free: 29.95 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.004609/3.509, allocations: 1.852 MB / 2.3 GB, free: 28.09 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/3.509, allocations: 67.95 kB / 2.3 GB, free: 28.01 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/3.51, allocations: 1.192 MB / 2.301 GB, free: 26.81 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/3.511, allocations: 45.7 kB / 2.301 GB, free: 26.76 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/3.511, allocations: 0.6821 MB / 2.301 GB, free: 26.07 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/3.511, allocations: 224.7 kB / 2.302 GB, free: 25.85 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/3.511, allocations: 16 kB / 2.302 GB, free: 25.83 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/3.511, allocations: 330 kB / 2.302 GB, free: 25.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/3.513, allocations: 0.5679 MB / 2.303 GB, free: 24.93 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/3.514, allocations: 0.8141 MB / 2.303 GB, free: 24.02 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/3.515, allocations: 0.6119 MB / 2.304 GB, free: 23.41 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/3.516, allocations: 7.953 kB / 2.304 GB, free: 23.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00334/3.519, allocations: 1.469 MB / 2.305 GB, free: 21.91 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002673/3.519, allocations: 1.199 MB / 2.307 GB, free: 20.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/3.519, allocations: 4 kB / 2.307 GB, free: 20.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/3.519, allocations: 8 kB / 2.307 GB, free: 20.59 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/3.52, allocations: 267.7 kB / 2.307 GB, free: 20.33 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/3.52, allocations: 15.97 kB / 2.307 GB, free: 20.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/3.522, allocations: 246.9 kB / 2.307 GB, free: 20.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/3.522, allocations: 47.97 kB / 2.307 GB, free: 20.02 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/3.522, allocations: 7.938 kB / 2.307 GB, free: 20.02 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00292/3.525, allocations: 1.313 MB / 2.308 GB, free: 18.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/3.525, allocations: 7.938 kB / 2.308 GB, free: 18.69 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/3.525, allocations: 8.312 kB / 2.308 GB, free: 18.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/3.526, allocations: 271.6 kB / 2.309 GB, free: 18.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/3.526, allocations: 12 kB / 2.309 GB, free: 18.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/3.528, allocations: 223.2 kB / 2.309 GB, free: 18.18 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/3.528, allocations: 51.97 kB / 2.309 GB, free: 18.13 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Number of clocked 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.0009068/3.529, allocations: 420.8 kB / 2.309 GB, free: 17.71 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/3.529, allocations: 154.1 kB / 2.31 GB, free: 17.56 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/3.533, allocations: 1.539 MB / 2.311 GB, free: 16 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/3.533, allocations: 8 kB / 2.311 GB, free: 16 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/3.533, allocations: 0 / 2.311 GB, free: 16 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00275/3.535, allocations: 1.355 MB / 2.312 GB, free: 14.61 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006314/3.542, allocations: 3.429 MB / 2.316 GB, free: 11.02 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/3.542, allocations: 4 kB / 2.316 GB, free: 11.01 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/3.543, allocations: 240.2 kB / 2.316 GB, free: 10.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/3.543, allocations: 8 kB / 2.316 GB, free: 10.77 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.656e-05/3.543, allocations: 35.98 kB / 2.316 GB, free: 10.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.311e-05/3.543, allocations: 15.92 kB / 2.316 GB, free: 10.72 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/3.543, allocations: 4 kB / 2.316 GB, free: 10.71 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/3.548, allocations: 2.734 MB / 2.319 GB, free: 7.734 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0011/3.549, allocations: 479.8 kB / 2.319 GB, free: 7.227 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/3.549, allocations: 24 kB / 2.319 GB, free: 7.203 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/3.551, allocations: 175.7 kB / 2.319 GB, free: 7.031 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/3.551, allocations: 84.34 kB / 2.319 GB, free: 6.949 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/3.551, allocations: 47.97 kB / 2.319 GB, free: 6.902 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001463/3.552, allocations: 0.9684 MB / 2.32 GB, free: 5.938 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/3.552, allocations: 0 / 2.32 GB, free: 5.938 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002553/3.555, allocations: 0.8499 MB / 2.321 GB, free: 5.086 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.001457/3.556, allocations: 0.825 MB / 2.322 GB, free: 4.277 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00465/3.561, allocations: 2.062 MB / 2.324 GB, free: 2.191 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/3.561, allocations: 4.125 kB / 2.324 GB, free: 2.188 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/3.563, allocations: 0.7224 MB / 2.325 GB, free: 1.469 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00352/3.566, allocations: 0.762 MB / 2.326 GB, free: 0.7148 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7576/4.324, allocations: 3.238 MB / 2.329 GB, free: 246.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/4.325, allocations: 1.275 MB / 2.33 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002802/4.328, allocations: 380.4 kB / 2.33 GB, free: 246 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/4.329, allocations: 126.9 kB / 2.33 GB, free: 246 MB / 1.167 GB Notification: Performance of SimCode: time 1.412e-06/4.329, allocations: 0 / 2.33 GB, free: 246 MB / 1.167 GB Notification: Performance of Templates: time 0.07694/4.406, allocations: 33.31 MB / 2.363 GB, free: 245.6 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches