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.253/2.253, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001085/0.001085, allocations: 183.9 kB / 0.4902 GB, free: 2.238 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.554/1.554, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.0009274/0.0009274, allocations: 99.08 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 10.89 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3396, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.579, allocations: 431.7 MB / 1.651 GB, free: 13.97 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004062/1.579, allocations: 94.58 kB / 1.651 GB, free: 13.92 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.163/3.742, allocations: 0.6395 GB / 2.29 GB, free: 29.77 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.344e-06/3.742, allocations: 0 / 2.29 GB, free: 29.77 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002525/3.742, allocations: 47.92 kB / 2.29 GB, free: 29.72 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.006149/3.748, allocations: 2.081 MB / 2.292 GB, free: 27.58 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/3.748, allocations: 8.031 kB / 2.292 GB, free: 27.57 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/3.752, allocations: 0.5677 MB / 2.293 GB, free: 27 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/3.756, allocations: 1.68 MB / 2.295 GB, free: 25.27 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001894/3.756, allocations: 145.4 kB / 2.295 GB, free: 25.11 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/3.757, allocations: 104 kB / 2.295 GB, free: 25.01 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/3.76, allocations: 1.354 MB / 2.296 GB, free: 23.62 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/3.76, allocations: 3.906 kB / 2.296 GB, free: 23.62 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/3.76, allocations: 40 kB / 2.296 GB, free: 23.58 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/3.76, allocations: 27.94 kB / 2.296 GB, free: 23.55 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003614/3.764, allocations: 1.394 MB / 2.298 GB, free: 22.16 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.01006/3.774, allocations: 5.501 MB / 2.303 GB, free: 16.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005792/3.78, allocations: 1.369 MB / 2.304 GB, free: 14.92 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008883/3.78, allocations: 1.168 MB / 2.305 GB, free: 13.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/3.782, allocations: 0.7018 MB / 2.306 GB, free: 12.79 MB / 1.167 GB Notification: Performance of pre-optimization done (n=68): time 2.625e-06/3.782, allocations: 0 / 2.306 GB, free: 12.79 MB / 1.167 GB Notification: Performance of matching and sorting (n=68): time 0.0254/3.808, allocations: 4.312 MB / 2.31 GB, free: 8.438 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/3.808, allocations: 59.97 kB / 2.31 GB, free: 8.367 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/3.81, allocations: 1.155 MB / 2.312 GB, free: 7.207 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/3.81, allocations: 45.7 kB / 2.312 GB, free: 7.156 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005282/3.811, allocations: 0.6701 MB / 2.312 GB, free: 6.477 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/3.811, allocations: 236.6 kB / 2.312 GB, free: 6.242 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/3.811, allocations: 16 kB / 2.312 GB, free: 6.227 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.492e-05/3.811, allocations: 337.9 kB / 2.313 GB, free: 5.891 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/3.812, allocations: 0.5485 MB / 2.313 GB, free: 5.344 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/3.814, allocations: 0.8141 MB / 2.314 GB, free: 4.43 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/3.816, allocations: 0.5962 MB / 2.315 GB, free: 3.828 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/3.816, allocations: 0 / 2.315 GB, free: 3.828 MB / 1.167 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0119/3.827, allocations: 2.348 MB / 2.317 GB, free: 1.461 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003714/3.828, allocations: 1.193 MB / 2.318 GB, free: 156 kB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/3.828, allocations: 4 kB / 2.318 GB, free: 152 kB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8099/4.638, allocations: 0.7164 MB / 2.319 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009789/4.639, allocations: 187.5 kB / 2.319 GB, free: 240.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02267/4.662, allocations: 4.845 MB / 2.324 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/4.664, allocations: 226.5 kB / 2.324 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/4.664, allocations: 50.97 kB / 2.324 GB, free: 239.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/4.664, allocations: 3.906 kB / 2.324 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01244/4.676, allocations: 2.193 MB / 2.326 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/4.676, allocations: 5.625 kB / 2.326 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/4.679, allocations: 0.7175 MB / 2.327 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/4.68, allocations: 190.4 kB / 2.327 GB, free: 239.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/4.701, allocations: 4.841 MB / 2.332 GB, free: 238.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/4.704, allocations: 215.5 kB / 2.332 GB, free: 238.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/4.704, allocations: 49.56 kB / 2.332 GB, free: 238.2 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 (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 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001195/4.705, allocations: 409.1 kB / 2.332 GB, free: 238 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003439/4.706, allocations: 150.5 kB / 2.333 GB, free: 238 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/4.718, allocations: 2.424 MB / 2.335 GB, free: 237.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/4.719, allocations: 11.75 kB / 2.335 GB, free: 237.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/4.719, allocations: 7.344 kB / 2.335 GB, free: 237.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01281/4.731, allocations: 2.229 MB / 2.337 GB, free: 237.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0177/4.749, allocations: 4.345 MB / 2.341 GB, free: 237 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/4.749, allocations: 4.812 kB / 2.341 GB, free: 237 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/4.75, allocations: 156 kB / 2.342 GB, free: 237 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/4.752, allocations: 0.7268 MB / 2.342 GB, free: 237 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/4.752, allocations: 29.33 kB / 2.342 GB, free: 237 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/4.773, allocations: 4.816 MB / 2.347 GB, free: 235.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.639e-06/4.773, allocations: 6.062 kB / 2.347 GB, free: 235.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/4.786, allocations: 3.602 MB / 2.351 GB, free: 234.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/4.788, allocations: 490.5 kB / 2.351 GB, free: 234.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002109/4.788, allocations: 21.62 kB / 2.351 GB, free: 234.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/4.789, allocations: 180.4 kB / 2.351 GB, free: 234.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/4.789, allocations: 73.28 kB / 2.351 GB, free: 234.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.544e-05/4.789, allocations: 48.36 kB / 2.351 GB, free: 234.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001327/4.791, allocations: 0.9408 MB / 2.352 GB, free: 234.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 9.62e-07/4.791, allocations: 0 / 2.352 GB, free: 234.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002991/4.794, allocations: 0.956 MB / 2.353 GB, free: 234.5 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 (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.001452/4.795, allocations: 0.8112 MB / 2.354 GB, free: 234.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009496/4.805, allocations: 2.807 MB / 2.357 GB, free: 234 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/4.805, allocations: 0 / 2.357 GB, free: 234 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003942/4.809, allocations: 1.096 MB / 2.358 GB, free: 233.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/4.812, allocations: 0.7592 MB / 2.358 GB, free: 233.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006492/4.819, allocations: 3.391 MB / 2.362 GB, free: 232.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008344/4.82, allocations: 1.278 MB / 2.363 GB, free: 231.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001772/4.822, allocations: 343.5 kB / 2.363 GB, free: 231.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000297/4.822, allocations: 117.1 kB / 2.363 GB, free: 231.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/4.822, allocations: 2.031 kB / 2.363 GB, free: 231.7 MB / 1.167 GB Notification: Performance of Templates: time 0.06304/4.885, allocations: 45.58 MB / 2.408 GB, free: 229.6 MB / 1.167 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