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.455/2.455, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001388/0.001388, allocations: 180.9 kB / 487.4 MB, free: 5.055 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.621/1.621, allocations: 221.5 MB / 0.7824 GB, free: 1.031 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.001022/0.001022, allocations: 99.84 kB / 0.9219 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.655e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.323, allocations: 142.3 MB / 1.206 GB, free: 43.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.904/6.227, allocations: 2.216 GB / 3.422 GB, free: 107.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/6.227, allocations: 92.83 kB / 3.422 GB, free: 107.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.458/10.69, allocations: 1.051 GB / 4.473 GB, free: 191.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.363e-06/10.69, allocations: 0 / 4.473 GB, free: 191.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005651/10.69, allocations: 74.28 kB / 4.473 GB, free: 191.8 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.01134/10.7, allocations: 2.796 MB / 4.476 GB, free: 190.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/10.7, allocations: 11.75 kB / 4.476 GB, free: 190.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007476/10.7, allocations: 1.023 MB / 4.477 GB, free: 190.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00746/10.71, allocations: 2.082 MB / 4.479 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/10.71, allocations: 151.9 kB / 4.479 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009075/10.71, allocations: 116.1 kB / 4.479 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005327/10.72, allocations: 2.155 MB / 4.481 GB, free: 190.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005705/10.72, allocations: 1.909 MB / 4.483 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-05/10.72, allocations: 0.5156 kB / 4.483 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005304/10.73, allocations: 2.844 kB / 4.483 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.653e-05/10.73, allocations: 71.81 kB / 4.483 GB, free: 189.8 MB / 1.167 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.01495/10.74, allocations: 8.351 MB / 4.491 GB, free: 187 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005634/10.75, allocations: 1.99 MB / 4.493 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001443/10.75, allocations: 0.7901 MB / 4.494 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/10.75, allocations: 0.8829 MB / 4.495 GB, free: 186 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/10.75, allocations: 0.9982 MB / 4.496 GB, free: 185.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=158): time 7.755e-06/10.75, allocations: 3.844 kB / 4.496 GB, free: 185.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=158): time 0.004796/10.76, allocations: 1.721 MB / 4.498 GB, free: 185.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/10.76, allocations: 306 kB / 4.498 GB, free: 185.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003749/10.76, allocations: 1.422 MB / 4.499 GB, free: 185.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003473/10.76, allocations: 29.11 kB / 4.499 GB, free: 185.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/10.76, allocations: 1.047 MB / 4.5 GB, free: 184.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006972/10.76, allocations: 0.5031 MB / 4.501 GB, free: 184.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/10.76, allocations: 3.969 kB / 4.501 GB, free: 184.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001525/10.76, allocations: 363.7 kB / 4.501 GB, free: 184.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/10.76, allocations: 0.6012 MB / 4.502 GB, free: 184.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/10.76, allocations: 0.9373 MB / 4.503 GB, free: 183.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001546/10.77, allocations: 0.7142 MB / 4.503 GB, free: 183.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/10.77, allocations: 0 / 4.503 GB, free: 183.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004606/10.77, allocations: 1.8 MB / 4.505 GB, free: 183.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003602/10.77, allocations: 1.142 MB / 4.506 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/10.77, allocations: 7.891 kB / 4.506 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/10.77, allocations: 84.78 kB / 4.506 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002187/10.77, allocations: 447 kB / 4.507 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/10.78, allocations: 2.064 MB / 4.509 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/10.78, allocations: 283.4 kB / 4.509 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003466/10.78, allocations: 78.88 kB / 4.509 GB, free: 180.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/10.78, allocations: 3.938 kB / 4.509 GB, free: 180.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003619/10.78, allocations: 1.559 MB / 4.511 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/10.78, allocations: 6.719 kB / 4.511 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005606/10.78, allocations: 84.47 kB / 4.511 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/10.79, allocations: 433.1 kB / 4.511 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/10.79, allocations: 1.483 MB / 4.513 GB, free: 179.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00332/10.79, allocations: 279.6 kB / 4.513 GB, free: 179.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002765/10.79, allocations: 73.62 kB / 4.513 GB, free: 179.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 174 * 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.0006966/10.79, allocations: 144.1 kB / 4.513 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/10.79, allocations: 223.7 kB / 4.513 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005012/10.8, allocations: 2.077 MB / 4.515 GB, free: 178.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/10.8, allocations: 19.66 kB / 4.515 GB, free: 178.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/10.8, allocations: 3.25 kB / 4.515 GB, free: 178.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003044/10.8, allocations: 1.884 MB / 4.517 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/10.81, allocations: 4.722 MB / 4.522 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/10.81, allocations: 6.766 kB / 4.522 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/10.81, allocations: 439.8 kB / 4.522 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005081/10.81, allocations: 92.69 kB / 4.522 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001696/10.81, allocations: 37.61 kB / 4.522 GB, free: 177.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001857/10.82, allocations: 2.085 MB / 4.524 GB, free: 175.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/10.82, allocations: 12.56 kB / 4.524 GB, free: 175.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005978/10.82, allocations: 3.317 MB / 4.528 GB, free: 175 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/10.82, allocations: 0.6801 MB / 4.528 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009801/10.83, allocations: 6.781 kB / 4.528 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003/10.83, allocations: 230.4 kB / 4.528 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/10.83, allocations: 133.9 kB / 4.529 GB, free: 174.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/10.83, allocations: 80.88 kB / 4.529 GB, free: 174.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002662/10.83, allocations: 1.084 MB / 4.53 GB, free: 174.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.91e-07/10.83, allocations: 0 / 4.53 GB, free: 174.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006906/10.84, allocations: 1.42 MB / 4.531 GB, free: 174.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * 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.006096/10.85, allocations: 2.732 MB / 4.534 GB, free: 173.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007064/10.85, allocations: 2.794 MB / 4.536 GB, free: 173.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.979e-05/10.85, allocations: 6.047 kB / 4.536 GB, free: 173.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/10.85, allocations: 1.028 MB / 4.537 GB, free: 173.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006646/10.86, allocations: 0.9545 MB / 4.538 GB, free: 173.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/10.87, allocations: 3.648 MB / 4.542 GB, free: 172.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002171/10.87, allocations: 1.728 MB / 4.544 GB, free: 171.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006203/10.88, allocations: 0.9636 MB / 4.545 GB, free: 171.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008122/10.88, allocations: 172.1 kB / 4.545 GB, free: 171.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.503e-06/10.88, allocations: 0 / 4.545 GB, free: 171.4 MB / 1.167 GB Notification: Performance of Templates: time 0.09754/10.98, allocations: 54.35 MB / 4.598 GB, free: 168.9 MB / 1.167 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