Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,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.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,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.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.342/2.342, 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.001258/0.001258, allocations: 184.3 kB / 498.1 MB, free: 5.758 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.586/1.586, allocations: 223.2 MB / 0.7949 GB, free: 17.99 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.0009415/0.0009415, allocations: 97.23 kB / 0.9346 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 10.41 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3463, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.281/1.628, allocations: 429.7 MB / 1.642 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004683/1.628, allocations: 88.55 kB / 1.643 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.104/3.733, allocations: 0.6391 GB / 2.282 GB, free: 47.43 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/3.733, allocations: 0 / 2.282 GB, free: 47.43 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002701/3.733, allocations: 47.92 kB / 2.282 GB, free: 47.39 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.006597/3.74, allocations: 2.064 MB / 2.284 GB, free: 45.25 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/3.74, allocations: 12.03 kB / 2.284 GB, free: 45.24 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004083/3.744, allocations: 0.6369 MB / 2.284 GB, free: 44.61 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005212/3.749, allocations: 1.668 MB / 2.286 GB, free: 42.89 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/3.749, allocations: 149.4 kB / 2.286 GB, free: 42.73 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000495/3.75, allocations: 103.9 kB / 2.286 GB, free: 42.62 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003756/3.754, allocations: 1.33 MB / 2.287 GB, free: 41.26 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/3.754, allocations: 11.94 kB / 2.287 GB, free: 41.25 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/3.754, allocations: 36 kB / 2.288 GB, free: 41.21 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.634e-05/3.754, allocations: 24 kB / 2.288 GB, free: 41.19 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003725/3.758, allocations: 1.374 MB / 2.289 GB, free: 39.82 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.00829/3.766, allocations: 5.389 MB / 2.294 GB, free: 34.08 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005717/3.772, allocations: 1.362 MB / 2.295 GB, free: 32.71 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007584/3.773, allocations: 1.247 MB / 2.297 GB, free: 31.19 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001782/3.774, allocations: 0.7017 MB / 2.297 GB, free: 30.47 MB / 1.167 GB Notification: Performance of pre-optimization done (n=67): time 4.077e-06/3.774, allocations: 0 / 2.297 GB, free: 30.47 MB / 1.167 GB Notification: Performance of matching and sorting (n=67): time 0.004909/3.779, allocations: 1.828 MB / 2.299 GB, free: 28.63 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/3.779, allocations: 55.97 kB / 2.299 GB, free: 28.57 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/3.782, allocations: 1.15 MB / 2.3 GB, free: 27.41 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/3.782, allocations: 41.7 kB / 2.3 GB, free: 27.36 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006484/3.782, allocations: 0.6701 MB / 2.301 GB, free: 26.68 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/3.783, allocations: 232.7 kB / 2.301 GB, free: 26.45 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/3.783, allocations: 12 kB / 2.301 GB, free: 26.44 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/3.783, allocations: 337.9 kB / 2.302 GB, free: 26.11 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/3.784, allocations: 0.5523 MB / 2.302 GB, free: 25.55 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/3.786, allocations: 0.8024 MB / 2.303 GB, free: 24.65 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/3.787, allocations: 0.6002 MB / 2.304 GB, free: 24.05 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/3.787, allocations: 7.953 kB / 2.304 GB, free: 24.04 MB / 1.167 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00371/3.791, allocations: 1.442 MB / 2.305 GB, free: 22.58 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004222/3.792, allocations: 1.196 MB / 2.306 GB, free: 21.27 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/3.792, allocations: 4 kB / 2.306 GB, free: 21.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.959e-05/3.792, allocations: 4 kB / 2.306 GB, free: 21.26 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/3.793, allocations: 279.6 kB / 2.306 GB, free: 20.99 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/3.793, allocations: 8 kB / 2.306 GB, free: 20.98 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002286/3.795, allocations: 242.9 kB / 2.307 GB, free: 20.74 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001819/3.796, allocations: 47.97 kB / 2.307 GB, free: 20.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/3.796, allocations: 4 kB / 2.307 GB, free: 20.69 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003315/3.799, allocations: 1.297 MB / 2.308 GB, free: 19.39 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/3.799, allocations: 4 kB / 2.308 GB, free: 19.38 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/3.799, allocations: 4 kB / 2.308 GB, free: 19.38 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/3.8, allocations: 279.8 kB / 2.308 GB, free: 19.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.724e-05/3.8, allocations: 7.938 kB / 2.308 GB, free: 19.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/3.802, allocations: 231.1 kB / 2.308 GB, free: 18.87 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001385/3.803, allocations: 47.97 kB / 2.308 GB, free: 18.82 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.001105/3.804, allocations: 416.7 kB / 2.309 GB, free: 18.41 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005297/3.804, allocations: 142.2 kB / 2.309 GB, free: 18.27 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/3.808, allocations: 1.518 MB / 2.31 GB, free: 16.73 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/3.808, allocations: 8 kB / 2.31 GB, free: 16.73 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/3.808, allocations: 0 / 2.31 GB, free: 16.73 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002942/3.811, allocations: 1.331 MB / 2.312 GB, free: 15.36 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007338/3.818, allocations: 3.374 MB / 2.315 GB, free: 11.83 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/3.818, allocations: 4 kB / 2.315 GB, free: 11.82 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001157/3.82, allocations: 244.2 kB / 2.315 GB, free: 11.59 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/3.82, allocations: 8 kB / 2.315 GB, free: 11.58 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.279e-05/3.82, allocations: 27.98 kB / 2.315 GB, free: 11.55 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.128e-05/3.82, allocations: 11.98 kB / 2.315 GB, free: 11.54 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.595e-06/3.82, allocations: 11.94 kB / 2.315 GB, free: 11.53 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005632/3.825, allocations: 2.678 MB / 2.318 GB, free: 8.594 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/3.827, allocations: 479.8 kB / 2.318 GB, free: 8.086 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006921/3.828, allocations: 16 kB / 2.318 GB, free: 8.07 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002176/3.83, allocations: 183.7 kB / 2.319 GB, free: 7.891 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/3.83, allocations: 76.36 kB / 2.319 GB, free: 7.816 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/3.83, allocations: 47.97 kB / 2.319 GB, free: 7.77 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001928/3.832, allocations: 0.9282 MB / 2.32 GB, free: 6.844 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/3.832, allocations: 0 / 2.32 GB, free: 6.844 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003567/3.836, allocations: 0.846 MB / 2.32 GB, free: 5.996 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.001912/3.838, allocations: 0.8248 MB / 2.321 GB, free: 5.188 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005143/3.843, allocations: 2.042 MB / 2.323 GB, free: 3.121 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/3.843, allocations: 0 / 2.323 GB, free: 3.121 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/3.845, allocations: 0.7186 MB / 2.324 GB, free: 2.406 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/3.849, allocations: 0.7467 MB / 2.325 GB, free: 1.668 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7012/4.55, allocations: 3.18 MB / 2.328 GB, free: 247.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/4.551, allocations: 1.259 MB / 2.329 GB, free: 246.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002556/4.554, allocations: 381.2 kB / 2.329 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006067/4.555, allocations: 123.8 kB / 2.33 GB, free: 246.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.903e-06/4.555, allocations: 3.859 kB / 2.33 GB, free: 246.3 MB / 1.167 GB Notification: Performance of Templates: time 0.0804/4.635, allocations: 33.03 MB / 2.362 GB, free: 245.9 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches