Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.482/1.482, allocations: 249.3 MB / 261.8 MB, free: 5.793 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 186.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 0.572 GB, free: 10.59 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 86.52 kB / 0.6764 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.083e-05, allocations: 4 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2365, allocations: 106.3 MB / 0.8918 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.444/6.681, allocations: 2.492 GB / 3.384 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/6.681, allocations: 90.73 kB / 3.384 GB, free: 219.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.829/10.51, allocations: 1.019 GB / 4.402 GB, free: 120 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.695e-06/10.51, allocations: 0 / 4.402 GB, free: 120 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002834/10.51, allocations: 79.23 kB / 4.402 GB, free: 119.9 MB / 0.9011 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.007989/10.52, allocations: 2.778 MB / 4.405 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/10.52, allocations: 10.41 kB / 4.405 GB, free: 118.7 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006775/10.53, allocations: 1.019 MB / 4.406 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00568/10.53, allocations: 2.073 MB / 4.408 GB, free: 118 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/10.53, allocations: 222.8 kB / 4.408 GB, free: 117.9 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004188/10.53, allocations: 202.7 kB / 4.409 GB, free: 117.9 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004023/10.54, allocations: 2.165 MB / 4.411 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/10.54, allocations: 3.875 kB / 4.411 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002108/10.54, allocations: 80.47 kB / 4.411 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/10.54, allocations: 69.41 kB / 4.411 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003539/10.54, allocations: 2.276 MB / 4.413 GB, free: 117.7 MB / 0.9011 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.0136/10.55, allocations: 8.759 MB / 4.422 GB, free: 114.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005591/10.56, allocations: 2.047 MB / 4.424 GB, free: 114.6 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/10.56, allocations: 0.8479 MB / 4.424 GB, free: 114.6 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007612/10.56, allocations: 0.8833 MB / 4.425 GB, free: 113.6 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001538/10.56, allocations: 1.059 MB / 4.426 GB, free: 113.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=159): time 3.807e-06/10.56, allocations: 3.391 kB / 4.426 GB, free: 113.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=159): time 0.004045/10.57, allocations: 1.778 MB / 4.428 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/10.57, allocations: 314 kB / 4.428 GB, free: 113 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002642/10.57, allocations: 1.648 MB / 4.43 GB, free: 112.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002276/10.57, allocations: 63.11 kB / 4.43 GB, free: 112.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009068/10.57, allocations: 1.048 MB / 4.431 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/10.57, allocations: 0.527 MB / 4.432 GB, free: 112 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.457e-05/10.57, allocations: 27.12 kB / 4.432 GB, free: 112 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001134/10.57, allocations: 359.5 kB / 4.432 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000951/10.57, allocations: 0.6349 MB / 4.433 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/10.57, allocations: 0.9902 MB / 4.434 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/10.58, allocations: 0.7537 MB / 4.434 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/10.58, allocations: 0 / 4.434 GB, free: 111.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003631/10.58, allocations: 1.909 MB / 4.436 GB, free: 111.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002816/10.58, allocations: 1.055 MB / 4.437 GB, free: 110 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/10.58, allocations: 10.83 kB / 4.437 GB, free: 110 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/10.58, allocations: 88.91 kB / 4.437 GB, free: 110 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/10.58, allocations: 439.6 kB / 4.438 GB, free: 110 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/10.58, allocations: 2.12 MB / 4.44 GB, free: 108.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/10.59, allocations: 334 kB / 4.44 GB, free: 108 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001864/10.59, allocations: 78.98 kB / 4.44 GB, free: 108 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/10.59, allocations: 3.781 kB / 4.44 GB, free: 108 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003063/10.59, allocations: 1.691 MB / 4.442 GB, free: 107.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/10.59, allocations: 3.156 kB / 4.442 GB, free: 107.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005024/10.59, allocations: 89.61 kB / 4.442 GB, free: 107.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/10.59, allocations: 433.1 kB / 4.442 GB, free: 107.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/10.59, allocations: 1.548 MB / 4.444 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003118/10.6, allocations: 323.7 kB / 4.444 GB, free: 106.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001875/10.6, allocations: 74.58 kB / 4.444 GB, free: 106.6 MB / 0.9011 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 () * 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.0005698/10.6, allocations: 207.5 kB / 4.444 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005779/10.6, allocations: 234.6 kB / 4.445 GB, free: 106.3 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004405/10.6, allocations: 2.202 MB / 4.447 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/10.6, allocations: 26.67 kB / 4.447 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/10.6, allocations: 0 / 4.447 GB, free: 106.2 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002833/10.61, allocations: 1.954 MB / 4.449 GB, free: 105.7 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008793/10.61, allocations: 5.092 MB / 4.454 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/10.61, allocations: 2.781 kB / 4.454 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/10.62, allocations: 451.5 kB / 4.454 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004754/10.62, allocations: 88.05 kB / 4.454 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/10.62, allocations: 52.28 kB / 4.454 GB, free: 104.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/10.62, allocations: 2.158 MB / 4.456 GB, free: 103 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/10.62, allocations: 6.969 kB / 4.456 GB, free: 103 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005318/10.62, allocations: 3.504 MB / 4.46 GB, free: 102.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/10.63, allocations: 0.7162 MB / 4.46 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/10.63, allocations: 41.41 kB / 4.461 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002192/10.63, allocations: 266 kB / 4.461 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002716/10.63, allocations: 125.9 kB / 4.461 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000168/10.63, allocations: 92.67 kB / 4.461 GB, free: 101.8 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001988/10.63, allocations: 1.295 MB / 4.462 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.4e-07/10.63, allocations: 0 / 4.462 GB, free: 101.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004332/10.64, allocations: 1.508 MB / 4.464 GB, free: 101.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],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 (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.004318/10.64, allocations: 2.539 MB / 4.466 GB, free: 100.6 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005047/10.65, allocations: 2.947 MB / 4.469 GB, free: 100.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/10.65, allocations: 3.719 kB / 4.469 GB, free: 100.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/10.65, allocations: 1.077 MB / 4.47 GB, free: 100.1 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005795/10.65, allocations: 1.108 MB / 4.471 GB, free: 100.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008916/10.66, allocations: 3.758 MB / 4.475 GB, free: 99.08 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001464/10.66, allocations: 1.725 MB / 4.477 GB, free: 98.35 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004863/10.67, allocations: 1.008 MB / 4.478 GB, free: 98.27 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000613/10.67, allocations: 175.8 kB / 4.478 GB, free: 98.26 MB / 0.9011 GB Notification: Performance of SimCode: time 1.773e-06/10.67, allocations: 0 / 4.478 GB, free: 98.26 MB / 0.9011 GB Notification: Performance of Templates: time 0.1116/10.78, allocations: 75.42 MB / 4.551 GB, free: 49.88 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches