Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_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.COP|chi.PLR1|chi.PLR2|chi.CR",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.287/2.287, allocations: 390.3 MB / 402.8 MB, free: 6.688 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.001064/0.001064, allocations: 186.3 kB / 496.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 0.7915 GB, free: 5.441 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.001103/0.001103, allocations: 95.73 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.486e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3127, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/1.628, allocations: 431.6 MB / 1.64 GB, free: 2.824 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/1.628, allocations: 87.95 kB / 1.64 GB, free: 2.738 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 2.977/4.606, allocations: 0.6376 GB / 2.278 GB, free: 243.8 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.425e-06/4.606, allocations: 0 / 2.278 GB, free: 243.8 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.000389/4.606, allocations: 48.55 kB / 2.278 GB, free: 243.8 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.006908/4.613, allocations: 1.765 MB / 2.28 GB, free: 242.7 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/4.613, allocations: 7.812 kB / 2.28 GB, free: 242.7 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006792/4.62, allocations: 0.5671 MB / 2.28 GB, free: 242.5 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006895/4.627, allocations: 1.663 MB / 2.282 GB, free: 241.4 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/4.627, allocations: 145.3 kB / 2.282 GB, free: 241.3 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005088/4.628, allocations: 103.7 kB / 2.282 GB, free: 241.2 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003812/4.632, allocations: 1.146 MB / 2.283 GB, free: 240.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.493e-05/4.632, allocations: 2.156 kB / 2.283 GB, free: 240.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/4.632, allocations: 35.09 kB / 2.283 GB, free: 240.5 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.627e-05/4.632, allocations: 33.7 kB / 2.283 GB, free: 240.5 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/4.635, allocations: 1.011 MB / 2.284 GB, free: 240.1 MB / 1.135 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.01319/4.648, allocations: 5.51 MB / 2.29 GB, free: 235.5 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008021/4.656, allocations: 1.121 MB / 2.291 GB, free: 235.1 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/4.658, allocations: 470.3 kB / 2.291 GB, free: 234.9 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001304/4.659, allocations: 1.168 MB / 2.292 GB, free: 233.5 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001521/4.661, allocations: 0.562 MB / 2.293 GB, free: 233.1 MB / 1.135 GB Notification: Performance of pre-optimization done (n=68): time 7.494e-06/4.661, allocations: 0 / 2.293 GB, free: 233.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=68): time 0.01134/4.672, allocations: 1.715 MB / 2.295 GB, free: 232.4 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.234e-05/4.672, allocations: 111.3 kB / 2.295 GB, free: 232.3 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002171/4.674, allocations: 1.141 MB / 2.296 GB, free: 231.7 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0002106/4.675, allocations: 44.58 kB / 2.296 GB, free: 231.7 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005672/4.675, allocations: 0.6697 MB / 2.297 GB, free: 231.1 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/4.675, allocations: 237.5 kB / 2.297 GB, free: 230.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.379e-05/4.676, allocations: 21.44 kB / 2.297 GB, free: 230.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.576e-05/4.676, allocations: 333.6 kB / 2.297 GB, free: 230.5 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006397/4.676, allocations: 371.4 kB / 2.297 GB, free: 230.4 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007562/4.677, allocations: 0.6071 MB / 2.298 GB, free: 229.9 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/4.678, allocations: 410.9 kB / 2.298 GB, free: 229.7 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/4.678, allocations: 0 / 2.298 GB, free: 229.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.009501/4.687, allocations: 1.863 MB / 2.3 GB, free: 228.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002723/4.688, allocations: 1.201 MB / 2.301 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/4.688, allocations: 7 kB / 2.301 GB, free: 227.5 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008328/4.688, allocations: 495.4 kB / 2.302 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/4.689, allocations: 192.3 kB / 2.302 GB, free: 227.3 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/4.701, allocations: 3.388 MB / 2.305 GB, free: 224.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002313/4.704, allocations: 227.2 kB / 2.306 GB, free: 224.9 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/4.704, allocations: 49.53 kB / 2.306 GB, free: 224.8 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/4.704, allocations: 3.844 kB / 2.306 GB, free: 224.8 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008559/4.712, allocations: 1.708 MB / 2.307 GB, free: 224.1 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/4.713, allocations: 3.75 kB / 2.307 GB, free: 224.1 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007754/4.713, allocations: 499 kB / 2.308 GB, free: 223.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008584/4.714, allocations: 192.6 kB / 2.308 GB, free: 223.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/4.726, allocations: 3.397 MB / 2.311 GB, free: 221.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/4.728, allocations: 224.5 kB / 2.312 GB, free: 221.4 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/4.729, allocations: 48.62 kB / 2.312 GB, free: 221.4 MB / 1.135 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 (80): * Single equations (assignments): 78 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003472/4.729, allocations: 147.9 kB / 2.312 GB, free: 221.2 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/4.729, allocations: 151.8 kB / 2.312 GB, free: 221.1 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008938/4.738, allocations: 1.923 MB / 2.314 GB, free: 220.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/4.738, allocations: 6.062 kB / 2.314 GB, free: 220.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/4.738, allocations: 3.969 kB / 2.314 GB, free: 220.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008251/4.746, allocations: 1.743 MB / 2.315 GB, free: 219.4 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/4.759, allocations: 3.986 MB / 2.319 GB, free: 216.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/4.759, allocations: 3.531 kB / 2.319 GB, free: 216.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006245/4.759, allocations: 158.3 kB / 2.32 GB, free: 216.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007865/4.76, allocations: 0.4925 MB / 2.32 GB, free: 216.5 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-05/4.76, allocations: 27.73 kB / 2.32 GB, free: 216.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01281/4.773, allocations: 3.481 MB / 2.323 GB, free: 214.1 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/4.773, allocations: 7.547 kB / 2.323 GB, free: 214.1 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/4.783, allocations: 2.93 MB / 2.326 GB, free: 212.2 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/4.784, allocations: 486.5 kB / 2.327 GB, free: 211.8 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001999/4.785, allocations: 22.56 kB / 2.327 GB, free: 211.8 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/4.786, allocations: 171.9 kB / 2.327 GB, free: 211.7 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/4.786, allocations: 84.58 kB / 2.327 GB, free: 211.6 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/4.786, allocations: 49.44 kB / 2.327 GB, free: 211.6 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.001252/4.787, allocations: 0.9169 MB / 2.328 GB, free: 211.2 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.01e-07/4.787, allocations: 0 / 2.328 GB, free: 211.2 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.00277/4.79, allocations: 0.9582 MB / 2.329 GB, free: 210.9 MB / 1.135 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 (66): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001365/4.792, allocations: 0.813 MB / 2.33 GB, free: 210.2 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.00497/4.797, allocations: 1.988 MB / 2.332 GB, free: 208.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/4.797, allocations: 0 / 2.332 GB, free: 208.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.003066/4.8, allocations: 0.9066 MB / 2.333 GB, free: 207.2 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003702/4.803, allocations: 0.7463 MB / 2.333 GB, free: 206.5 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/4.808, allocations: 2.226 MB / 2.335 GB, free: 204.2 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000739/4.809, allocations: 1.276 MB / 2.337 GB, free: 202.9 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001889/4.811, allocations: 456.7 kB / 2.337 GB, free: 202.5 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/4.811, allocations: 95.41 kB / 2.337 GB, free: 202.4 MB / 1.135 GB Notification: Performance of SimCode: time 1.633e-06/4.811, allocations: 0 / 2.337 GB, free: 202.4 MB / 1.135 GB Notification: Performance of Templates: time 0.0687/4.88, allocations: 49.51 MB / 2.386 GB, free: 154.2 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches