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.285/2.285, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001193/0.001193, allocations: 180.4 kB / 487.4 MB, free: 5.051 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.597/1.597, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009601/0.0009602, allocations: 83.98 kB / 0.9219 GB, free: 2.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.875e-05, allocations: 4 kB / 1.067 GB, free: 185.8 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3268, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.351/1.678, allocations: 429 MB / 1.625 GB, free: 9.793 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.678, allocations: 87.14 kB / 1.625 GB, free: 9.75 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.938/4.616, allocations: 0.6336 GB / 2.258 GB, free: 248.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.893e-06/4.616, allocations: 0 / 2.258 GB, free: 248.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003162/4.616, allocations: 54.11 kB / 2.259 GB, free: 248.6 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.006071/4.623, allocations: 1.753 MB / 2.26 GB, free: 248 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/4.623, allocations: 11.09 kB / 2.26 GB, free: 248 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003846/4.626, allocations: 0.6335 MB / 2.261 GB, free: 247.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004594/4.631, allocations: 1.647 MB / 2.262 GB, free: 247.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/4.631, allocations: 107.1 kB / 2.263 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/4.632, allocations: 61.81 kB / 2.263 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002106/4.634, allocations: 0.9072 MB / 2.264 GB, free: 247.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/4.636, allocations: 0.9838 MB / 2.264 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/4.636, allocations: 2.344 kB / 2.264 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/4.636, allocations: 0 / 2.264 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/4.636, allocations: 26.69 kB / 2.265 GB, free: 247.4 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.007845/4.644, allocations: 5.198 MB / 2.27 GB, free: 245 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/4.648, allocations: 1.082 MB / 2.271 GB, free: 245 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007308/4.649, allocations: 424.3 kB / 2.271 GB, free: 245 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009628/4.65, allocations: 1.251 MB / 2.272 GB, free: 243.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008491/4.651, allocations: 0.5119 MB / 2.273 GB, free: 243.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=67): time 4.989e-06/4.651, allocations: 0 / 2.273 GB, free: 243.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=67): time 0.002609/4.654, allocations: 0.8728 MB / 2.274 GB, free: 243.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/4.654, allocations: 114.8 kB / 2.274 GB, free: 243.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/4.656, allocations: 0.9973 MB / 2.275 GB, free: 243.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/4.656, allocations: 29.05 kB / 2.275 GB, free: 243.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001077/4.658, allocations: 0.6792 MB / 2.275 GB, free: 242.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003556/4.658, allocations: 222.4 kB / 2.276 GB, free: 242.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/4.658, allocations: 0 / 2.276 GB, free: 242.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001367/4.658, allocations: 332.6 kB / 2.276 GB, free: 242.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005831/4.659, allocations: 342.4 kB / 2.276 GB, free: 242.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/4.66, allocations: 0.5698 MB / 2.277 GB, free: 242.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/4.661, allocations: 399.7 kB / 2.277 GB, free: 242.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/4.661, allocations: 6.125 kB / 2.277 GB, free: 242.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002759/4.663, allocations: 0.9785 MB / 2.278 GB, free: 242.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004497/4.664, allocations: 1.194 MB / 2.279 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/4.664, allocations: 3.938 kB / 2.279 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-05/4.664, allocations: 7 kB / 2.279 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/4.665, allocations: 280.4 kB / 2.28 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.333e-05/4.665, allocations: 7.438 kB / 2.28 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002185/4.667, allocations: 205.7 kB / 2.28 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/4.668, allocations: 48.39 kB / 2.28 GB, free: 240.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/4.668, allocations: 6.719 kB / 2.28 GB, free: 240.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001746/4.669, allocations: 0.8218 MB / 2.281 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/4.669, allocations: 6.719 kB / 2.281 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/4.669, allocations: 3.438 kB / 2.281 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/4.671, allocations: 272.3 kB / 2.281 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.078e-05/4.671, allocations: 10.91 kB / 2.281 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002217/4.673, allocations: 200.2 kB / 2.281 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/4.673, allocations: 49.56 kB / 2.281 GB, free: 240.8 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.0004015/4.674, allocations: 125.3 kB / 2.281 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006928/4.674, allocations: 136.8 kB / 2.281 GB, free: 240.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002884/4.677, allocations: 1.052 MB / 2.282 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.368e-05/4.677, allocations: 10.69 kB / 2.282 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/4.677, allocations: 2.844 kB / 2.282 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001612/4.679, allocations: 0.8948 MB / 2.283 GB, free: 240.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006909/4.686, allocations: 2.91 MB / 2.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.437e-05/4.686, allocations: 7.297 kB / 2.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/4.687, allocations: 241 kB / 2.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.292e-05/4.687, allocations: 6.188 kB / 2.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/4.687, allocations: 24.06 kB / 2.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-05/4.687, allocations: 6.5 kB / 2.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.379e-05/4.687, allocations: 11.92 kB / 2.286 GB, free: 239.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003622/4.691, allocations: 1.984 MB / 2.288 GB, free: 238.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/4.692, allocations: 463.9 kB / 2.289 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004894/4.693, allocations: 7.875 kB / 2.289 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/4.695, allocations: 163.7 kB / 2.289 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/4.695, allocations: 79.92 kB / 2.289 GB, free: 238.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/4.695, allocations: 44.23 kB / 2.289 GB, free: 238.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001497/4.696, allocations: 0.7631 MB / 2.29 GB, free: 238.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/4.696, allocations: 0 / 2.29 GB, free: 238.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003424/4.7, allocations: 0.8185 MB / 2.291 GB, free: 238.4 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.001836/4.702, allocations: 0.8207 MB / 2.291 GB, free: 238.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002393/4.704, allocations: 1.408 MB / 2.293 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/4.704, allocations: 0 / 2.293 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008188/4.705, allocations: 0.4919 MB / 2.293 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003548/4.708, allocations: 0.6273 MB / 2.294 GB, free: 238 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00423/4.713, allocations: 1.939 MB / 2.296 GB, free: 237.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009728/4.714, allocations: 1.262 MB / 2.297 GB, free: 236.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00239/4.716, allocations: 464.5 kB / 2.298 GB, free: 236.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003107/4.716, allocations: 90.88 kB / 2.298 GB, free: 236.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.403e-06/4.716, allocations: 0 / 2.298 GB, free: 236.6 MB / 1.151 GB Notification: Performance of Templates: time 0.05454/4.771, allocations: 29.34 MB / 2.326 GB, free: 235.7 MB / 1.151 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