Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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_AirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|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_AirCooled") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul|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_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001001/0.001002, allocations: 181 kB / 498.1 MB, free: 5.715 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.63/1.63, allocations: 223.2 MB / 0.7948 GB, free: 17.83 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.0008974/0.0008971, allocations: 100.2 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 10.48 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3267, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.569/5.895, allocations: 2.217 GB / 3.44 GB, free: 213 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/5.896, allocations: 100.6 kB / 3.44 GB, free: 213 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.823/9.719, allocations: 1.062 GB / 4.502 GB, free: 36.42 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.615e-06/9.719, allocations: 0 / 4.502 GB, free: 36.42 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004463/9.72, allocations: 71.92 kB / 4.502 GB, free: 36.35 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.01212/9.732, allocations: 3.24 MB / 4.505 GB, free: 33.03 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/9.732, allocations: 8.562 kB / 4.505 GB, free: 33.02 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006991/9.739, allocations: 1.015 MB / 4.506 GB, free: 32 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007051/9.746, allocations: 2.114 MB / 4.509 GB, free: 29.82 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/9.746, allocations: 220.9 kB / 4.509 GB, free: 29.59 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008264/9.747, allocations: 204 kB / 4.509 GB, free: 29.39 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/9.752, allocations: 2.406 MB / 4.511 GB, free: 26.93 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.125e-05/9.752, allocations: 0 / 4.511 GB, free: 26.93 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/9.752, allocations: 83.95 kB / 4.511 GB, free: 26.85 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/9.752, allocations: 79.66 kB / 4.511 GB, free: 26.77 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005265/9.758, allocations: 2.731 MB / 4.514 GB, free: 24.04 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.01357/9.771, allocations: 8.731 MB / 4.523 GB, free: 14.88 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007013/9.778, allocations: 2.38 MB / 4.525 GB, free: 12.49 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007534/9.779, allocations: 0.8792 MB / 4.526 GB, free: 11.43 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002601/9.782, allocations: 1.259 MB / 4.527 GB, free: 10.15 MB / 1.167 GB Notification: Performance of pre-optimization done (n=159): time 4.298e-06/9.782, allocations: 0 / 4.527 GB, free: 10.15 MB / 1.167 GB Notification: Performance of matching and sorting (n=159): time 0.008325/9.79, allocations: 3.235 MB / 4.53 GB, free: 6.891 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/9.79, allocations: 248.6 kB / 4.53 GB, free: 6.594 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002804/9.793, allocations: 1.679 MB / 4.532 GB, free: 4.887 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004019/9.793, allocations: 65.7 kB / 4.532 GB, free: 4.816 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008745/9.794, allocations: 1.033 MB / 4.533 GB, free: 3.77 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004994/9.795, allocations: 0.5236 MB / 4.534 GB, free: 3.238 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.461e-05/9.795, allocations: 32 kB / 4.534 GB, free: 3.207 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001106/9.795, allocations: 365.9 kB / 4.534 GB, free: 2.844 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/9.797, allocations: 0.8471 MB / 4.535 GB, free: 1.996 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002142/9.799, allocations: 1.204 MB / 4.536 GB, free: 0.6758 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002119/9.801, allocations: 0.9664 MB / 4.537 GB, free: 15.71 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/9.801, allocations: 7.984 kB / 4.537 GB, free: 15.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.006452/9.808, allocations: 2.356 MB / 4.539 GB, free: 13.33 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.000547/9.808, allocations: 1.055 MB / 4.54 GB, free: 12.17 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/9.808, allocations: 8 kB / 4.54 GB, free: 12.16 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006682/9.809, allocations: 100.6 kB / 4.54 GB, free: 12.06 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002295/9.811, allocations: 443.4 kB / 4.541 GB, free: 11.62 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002629/9.814, allocations: 2.138 MB / 4.543 GB, free: 9.32 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00354/9.818, allocations: 338.3 kB / 4.543 GB, free: 8.988 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002842/9.818, allocations: 79.95 kB / 4.543 GB, free: 8.91 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/9.818, allocations: 4 kB / 4.543 GB, free: 8.906 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00581/9.824, allocations: 2.146 MB / 4.545 GB, free: 6.75 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/9.824, allocations: 4 kB / 4.545 GB, free: 6.746 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005854/9.824, allocations: 88.94 kB / 4.546 GB, free: 6.656 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/9.826, allocations: 435.4 kB / 4.546 GB, free: 6.23 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/9.829, allocations: 1.559 MB / 4.547 GB, free: 4.535 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/9.832, allocations: 326.5 kB / 4.548 GB, free: 4.215 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/9.832, allocations: 71.95 kB / 4.548 GB, free: 4.145 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00186/9.834, allocations: 0.5944 MB / 4.548 GB, free: 3.539 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008618/9.835, allocations: 241 kB / 4.549 GB, free: 3.301 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006983/9.842, allocations: 2.669 MB / 4.551 GB, free: 0.6133 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.613e-05/9.842, allocations: 16 kB / 4.551 GB, free: 0.5977 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/9.842, allocations: 0 / 4.551 GB, free: 0.5977 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.7375/10.58, allocations: 2.41 MB / 4.554 GB, free: 216.9 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0134/10.59, allocations: 5.394 MB / 4.559 GB, free: 216.3 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/10.59, allocations: 3.656 kB / 4.559 GB, free: 216.3 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/10.6, allocations: 449.2 kB / 4.559 GB, free: 216.3 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005646/10.6, allocations: 93.06 kB / 4.559 GB, free: 216.3 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002228/10.6, allocations: 54.48 kB / 4.559 GB, free: 216.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001948/10.6, allocations: 2.166 MB / 4.562 GB, free: 214.5 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/10.6, allocations: 3.938 kB / 4.562 GB, free: 214.5 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009792/10.61, allocations: 4.14 MB / 4.566 GB, free: 213.8 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002104/10.61, allocations: 0.7014 MB / 4.566 GB, free: 213.5 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004708/10.61, allocations: 39.95 kB / 4.566 GB, free: 213.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/10.61, allocations: 267.3 kB / 4.567 GB, free: 213.5 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/10.61, allocations: 132.8 kB / 4.567 GB, free: 213.5 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/10.61, allocations: 85.8 kB / 4.567 GB, free: 213.5 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002693/10.62, allocations: 1.322 MB / 4.568 GB, free: 213.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.71e-07/10.62, allocations: 0 / 4.568 GB, free: 213.4 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006018/10.62, allocations: 1.528 MB / 4.57 GB, free: 213.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (chi.vol1.dynBal.medium.Xi[1],chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 164 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005931/10.63, allocations: 2.612 MB / 4.572 GB, free: 212.7 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01147/10.64, allocations: 3.543 MB / 4.576 GB, free: 212.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-05/10.64, allocations: 4.969 kB / 4.576 GB, free: 212.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.003285/10.64, allocations: 1.303 MB / 4.577 GB, free: 212.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005673/10.65, allocations: 1.098 MB / 4.578 GB, free: 212.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/10.66, allocations: 5.742 MB / 4.584 GB, free: 209.9 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/10.66, allocations: 1.717 MB / 4.585 GB, free: 209.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004225/10.67, allocations: 0.7966 MB / 4.586 GB, free: 209.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007632/10.67, allocations: 224.8 kB / 4.586 GB, free: 209.1 MB / 1.182 GB Notification: Performance of SimCode: time 1.192e-06/10.67, allocations: 2.344 kB / 4.586 GB, free: 209.1 MB / 1.182 GB Notification: Performance of Templates: time 0.1146/10.78, allocations: 66.89 MB / 4.652 GB, free: 206.9 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches