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.347/2.347, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001093/0.001093, allocations: 172.9 kB / 492.3 MB, free: 0.6172 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.649/1.649, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008891/0.0008891, allocations: 95.88 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.368e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.334, allocations: 142.3 MB / 1.212 GB, free: 38.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.325/1.659, allocations: 429.6 MB / 1.632 GB, free: 1.055 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/1.659, allocations: 89.19 kB / 1.632 GB, free: 1.008 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.948/4.608, allocations: 0.6378 GB / 2.27 GB, free: 249.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.114e-06/4.608, allocations: 0 / 2.27 GB, free: 249.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001757/4.608, allocations: 45.81 kB / 2.27 GB, free: 249.1 MB / 1.151 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.004281/4.612, allocations: 1.773 MB / 2.272 GB, free: 248.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/4.612, allocations: 10.19 kB / 2.272 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003623/4.616, allocations: 0.6344 MB / 2.272 GB, free: 248.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004142/4.62, allocations: 1.667 MB / 2.274 GB, free: 247.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/4.62, allocations: 148.7 kB / 2.274 GB, free: 247.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/4.62, allocations: 103.6 kB / 2.274 GB, free: 247.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/4.622, allocations: 1.122 MB / 2.275 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/4.622, allocations: 1.125 kB / 2.275 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/4.622, allocations: 40.91 kB / 2.275 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.583e-05/4.623, allocations: 30 kB / 2.275 GB, free: 247.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/4.624, allocations: 0.97 MB / 2.276 GB, free: 247.7 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.007395/4.631, allocations: 5.434 MB / 2.282 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/4.633, allocations: 0.7066 MB / 2.282 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006757/4.633, allocations: 459.2 kB / 2.283 GB, free: 245.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008164/4.634, allocations: 1.24 MB / 2.284 GB, free: 243.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008018/4.635, allocations: 0.5523 MB / 2.284 GB, free: 243.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 3.477e-06/4.635, allocations: 0 / 2.284 GB, free: 243.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.001722/4.637, allocations: 0.8985 MB / 2.285 GB, free: 243.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/4.637, allocations: 120.7 kB / 2.285 GB, free: 243.6 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/4.638, allocations: 1.183 MB / 2.287 GB, free: 243.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/4.638, allocations: 43.83 kB / 2.287 GB, free: 243.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/4.639, allocations: 0.6834 MB / 2.287 GB, free: 243.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/4.639, allocations: 226.4 kB / 2.287 GB, free: 243.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/4.639, allocations: 15.59 kB / 2.287 GB, free: 243.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/4.639, allocations: 335.9 kB / 2.288 GB, free: 242.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005134/4.64, allocations: 358.9 kB / 2.288 GB, free: 242.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007015/4.641, allocations: 0.5982 MB / 2.289 GB, free: 242.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/4.641, allocations: 415.6 kB / 2.289 GB, free: 242.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/4.641, allocations: 0 / 2.289 GB, free: 242.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001724/4.643, allocations: 1.049 MB / 2.29 GB, free: 242.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003322/4.643, allocations: 1.208 MB / 2.291 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/4.643, allocations: 3.5 kB / 2.291 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/4.643, allocations: 13.22 kB / 2.291 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/4.645, allocations: 269.9 kB / 2.292 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.934e-05/4.645, allocations: 15.8 kB / 2.292 GB, free: 241.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/4.647, allocations: 238.2 kB / 2.292 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/4.647, allocations: 48.78 kB / 2.292 GB, free: 241 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/4.647, allocations: 5.75 kB / 2.292 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/4.648, allocations: 0.8944 MB / 2.293 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/4.648, allocations: 7.438 kB / 2.293 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/4.648, allocations: 11.39 kB / 2.293 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/4.649, allocations: 275.8 kB / 2.293 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/4.649, allocations: 3.906 kB / 2.293 GB, free: 241 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/4.651, allocations: 232.9 kB / 2.293 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/4.651, allocations: 49.95 kB / 2.293 GB, free: 240.9 MB / 1.151 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 () * 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.0002993/4.651, allocations: 155.9 kB / 2.293 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/4.652, allocations: 151.2 kB / 2.294 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/4.654, allocations: 1.111 MB / 2.295 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/4.654, allocations: 13.77 kB / 2.295 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/4.654, allocations: 3.75 kB / 2.295 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001228/4.655, allocations: 0.9312 MB / 2.296 GB, free: 240.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004853/4.66, allocations: 3.141 MB / 2.299 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/4.66, allocations: 3.938 kB / 2.299 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/4.661, allocations: 243.3 kB / 2.299 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.468e-05/4.661, allocations: 14.92 kB / 2.299 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/4.661, allocations: 27.92 kB / 2.299 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.378e-05/4.661, allocations: 14.42 kB / 2.299 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/4.661, allocations: 6.5 kB / 2.299 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/4.664, allocations: 2.098 MB / 2.301 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/4.665, allocations: 489.2 kB / 2.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/4.665, allocations: 25.06 kB / 2.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/4.667, allocations: 181.9 kB / 2.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/4.667, allocations: 70.34 kB / 2.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/4.667, allocations: 52.12 kB / 2.302 GB, free: 238.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001414/4.668, allocations: 0.949 MB / 2.303 GB, free: 238.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 4e-07/4.668, allocations: 0 / 2.303 GB, free: 238.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002978/4.671, allocations: 0.8501 MB / 2.304 GB, free: 238.3 MB / 1.151 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) * 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.001805/4.673, allocations: 0.8246 MB / 2.304 GB, free: 238.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002578/4.676, allocations: 1.494 MB / 2.306 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/4.676, allocations: 0 / 2.306 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000892/4.677, allocations: 0.5104 MB / 2.306 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003957/4.681, allocations: 0.7582 MB / 2.307 GB, free: 237.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/4.684, allocations: 2.053 MB / 2.309 GB, free: 237.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007361/4.685, allocations: 1.278 MB / 2.31 GB, free: 236.5 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002416/4.688, allocations: 0.4931 MB / 2.311 GB, free: 236.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/4.688, allocations: 97.25 kB / 2.311 GB, free: 236.5 MB / 1.151 GB Notification: Performance of SimCode: time 1.192e-06/4.688, allocations: 2.469 kB / 2.311 GB, free: 236.5 MB / 1.151 GB Notification: Performance of Templates: time 0.06628/4.754, allocations: 36.84 MB / 2.347 GB, free: 235.1 MB / 1.151 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