Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.46/1.46, allocations: 249.3 MB / 261.8 MB, free: 5.871 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.001215/0.001215, allocations: 168.6 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009265/0.0009265, allocations: 80.42 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.315e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2314, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.639/1.87, allocations: 409.6 MB / 1.292 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.871, allocations: 95.3 kB / 1.292 GB, free: 259.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.846/3.717, allocations: 0.6062 GB / 1.898 GB, free: 25.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.376e-06/3.717, allocations: 0 / 1.898 GB, free: 25.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003487/3.717, allocations: 43.92 kB / 1.898 GB, free: 25.34 MB / 0.8698 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.006322/3.724, allocations: 1.772 MB / 1.9 GB, free: 23.51 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.538e-05/3.724, allocations: 8.031 kB / 1.9 GB, free: 23.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/3.728, allocations: 0.6339 MB / 1.9 GB, free: 22.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004449/3.732, allocations: 1.656 MB / 1.902 GB, free: 21.16 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000239/3.733, allocations: 153.4 kB / 1.902 GB, free: 21 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000386/3.733, allocations: 100 kB / 1.902 GB, free: 20.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/3.735, allocations: 1.112 MB / 1.903 GB, free: 19.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/3.735, allocations: 7.938 kB / 1.903 GB, free: 19.75 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/3.735, allocations: 40 kB / 1.903 GB, free: 19.71 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/3.736, allocations: 24 kB / 1.903 GB, free: 19.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001612/3.737, allocations: 0.9761 MB / 1.904 GB, free: 18.71 MB / 0.8698 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.007008/3.744, allocations: 5.403 MB / 1.91 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/3.745, allocations: 0.7013 MB / 1.91 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006276/3.746, allocations: 466.2 kB / 1.911 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/3.747, allocations: 1.243 MB / 1.912 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007455/3.747, allocations: 0.5415 MB / 1.913 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=67): time 2.996e-06/3.747, allocations: 3.938 kB / 1.913 GB, free: 9.711 MB / 0.8698 GB Notification: Performance of matching and sorting (n=67): time 0.001667/3.749, allocations: 0.8994 MB / 1.913 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/3.749, allocations: 119.3 kB / 1.914 GB, free: 8.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/3.751, allocations: 1.167 MB / 1.915 GB, free: 7.488 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000102/3.751, allocations: 49.69 kB / 1.915 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/3.751, allocations: 0.6821 MB / 1.915 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/3.751, allocations: 224.7 kB / 1.916 GB, free: 6.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/3.751, allocations: 16 kB / 1.916 GB, free: 6.504 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.185e-05/3.752, allocations: 338 kB / 1.916 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005324/3.752, allocations: 357.5 kB / 1.916 GB, free: 5.816 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006935/3.753, allocations: 0.6158 MB / 1.917 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/3.753, allocations: 409.8 kB / 1.917 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/3.753, allocations: 3.938 kB / 1.917 GB, free: 4.688 MB / 0.8698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00171/3.755, allocations: 1.051 MB / 1.918 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004658/3.756, allocations: 1.202 MB / 1.919 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/3.756, allocations: 8 kB / 1.919 GB, free: 2.301 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/3.756, allocations: 8 kB / 1.919 GB, free: 2.293 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/3.757, allocations: 275.6 kB / 1.92 GB, free: 2.023 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/3.757, allocations: 8 kB / 1.92 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/3.759, allocations: 239 kB / 1.92 GB, free: 1.781 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/3.759, allocations: 47.97 kB / 1.92 GB, free: 1.734 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/3.759, allocations: 4 kB / 1.92 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001307/3.76, allocations: 0.9024 MB / 1.921 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/3.76, allocations: 0 / 1.921 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/3.76, allocations: 8 kB / 1.921 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/3.761, allocations: 271.8 kB / 1.921 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/3.761, allocations: 7.953 kB / 1.921 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/3.763, allocations: 239.1 kB / 1.921 GB, free: 312 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/3.763, allocations: 55.84 kB / 1.921 GB, free: 256 kB / 0.8698 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.0002206/3.763, allocations: 147.4 kB / 1.922 GB, free: 104 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.6569/4.42, allocations: 149.2 kB / 1.922 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/4.424, allocations: 1.107 MB / 1.923 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/4.424, allocations: 15.06 kB / 1.923 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/4.424, allocations: 1.031 kB / 1.923 GB, free: 140 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001624/4.425, allocations: 0.9271 MB / 1.924 GB, free: 139.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006341/4.432, allocations: 3.128 MB / 1.927 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/4.432, allocations: 4.656 kB / 1.927 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/4.433, allocations: 244.7 kB / 1.927 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.907e-05/4.433, allocations: 8.297 kB / 1.927 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.515e-05/4.433, allocations: 29.77 kB / 1.927 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/4.433, allocations: 11.5 kB / 1.927 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/4.433, allocations: 8.688 kB / 1.927 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/4.436, allocations: 2.102 MB / 1.929 GB, free: 138.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/4.437, allocations: 485 kB / 1.93 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/4.438, allocations: 21.38 kB / 1.93 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/4.439, allocations: 180.8 kB / 1.93 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/4.439, allocations: 73.62 kB / 1.93 GB, free: 138 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/4.44, allocations: 47.59 kB / 1.93 GB, free: 138 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00215/4.442, allocations: 0.9432 MB / 1.931 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/4.442, allocations: 0.9375 kB / 1.931 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003361/4.445, allocations: 0.8544 MB / 1.932 GB, free: 137.9 MB / 0.8698 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.001988/4.447, allocations: 0.823 MB / 1.932 GB, free: 137.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003025/4.45, allocations: 1.489 MB / 1.934 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/4.45, allocations: 0 / 1.934 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009238/4.451, allocations: 0.5155 MB / 1.934 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004363/4.456, allocations: 0.7533 MB / 1.935 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004332/4.46, allocations: 2.065 MB / 1.937 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009287/4.461, allocations: 1.275 MB / 1.938 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002486/4.463, allocations: 0.4945 MB / 1.939 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/4.464, allocations: 95.25 kB / 1.939 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.693e-06/4.464, allocations: 0 / 1.939 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.07442/4.538, allocations: 36.83 MB / 1.975 GB, free: 135.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches