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.452/1.452, allocations: 249.5 MB / 257 MB, free: 6.914 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.00113/0.00113, allocations: 180.9 kB / 316.3 MB, free: 3.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008065/0.0008069, allocations: 92.92 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.798e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2206, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.653/6.874, allocations: 2.492 GB / 3.377 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000217/6.874, allocations: 88.7 kB / 3.377 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.695/10.57, allocations: 1.008 GB / 4.385 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.834e-06/10.57, allocations: 0 / 4.385 GB, free: 111.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002901/10.57, allocations: 73.33 kB / 4.386 GB, free: 111.2 MB / 0.8855 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.007958/10.58, allocations: 2.777 MB / 4.388 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/10.58, allocations: 7.906 kB / 4.388 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00675/10.58, allocations: 1.017 MB / 4.389 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00523/10.59, allocations: 2.073 MB / 4.391 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/10.59, allocations: 158.7 kB / 4.391 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004092/10.59, allocations: 120.6 kB / 4.392 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003553/10.59, allocations: 2.147 MB / 4.394 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/10.6, allocations: 1.891 MB / 4.395 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/10.6, allocations: 6.938 kB / 4.395 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/10.6, allocations: 0 / 4.395 GB, free: 108.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.204e-05/10.6, allocations: 75.16 kB / 4.396 GB, free: 108.9 MB / 0.8855 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.0128/10.61, allocations: 8.39 MB / 4.404 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005033/10.62, allocations: 1.972 MB / 4.406 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/10.62, allocations: 0.795 MB / 4.406 GB, free: 105.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/10.62, allocations: 0.8851 MB / 4.407 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/10.62, allocations: 0.9904 MB / 4.408 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=158): time 3.527e-06/10.62, allocations: 6.094 kB / 4.408 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=158): time 0.003908/10.62, allocations: 1.712 MB / 4.41 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/10.62, allocations: 304.8 kB / 4.41 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002573/10.63, allocations: 1.427 MB / 4.412 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003437/10.63, allocations: 31.48 kB / 4.412 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008568/10.63, allocations: 1.044 MB / 4.413 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004944/10.63, allocations: 0.4978 MB / 4.413 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/10.63, allocations: 0 / 4.413 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/10.63, allocations: 359.5 kB / 4.414 GB, free: 103 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008614/10.63, allocations: 0.6075 MB / 4.414 GB, free: 103 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/10.63, allocations: 0.9469 MB / 4.415 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/10.63, allocations: 0.7116 MB / 4.416 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/10.63, allocations: 3.875 kB / 4.416 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003624/10.63, allocations: 1.798 MB / 4.418 GB, free: 102.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002688/10.63, allocations: 1.131 MB / 4.419 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/10.63, allocations: 6.094 kB / 4.419 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/10.63, allocations: 90.48 kB / 4.419 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/10.64, allocations: 444.5 kB / 4.419 GB, free: 101.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/10.64, allocations: 2.06 MB / 4.421 GB, free: 99.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/10.64, allocations: 285 kB / 4.421 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/10.64, allocations: 77.97 kB / 4.421 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/10.64, allocations: 5.281 kB / 4.421 GB, free: 99.43 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003028/10.65, allocations: 1.548 MB / 4.423 GB, free: 99.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/10.65, allocations: 5.562 kB / 4.423 GB, free: 99.38 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000495/10.65, allocations: 85.27 kB / 4.423 GB, free: 99.37 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/10.65, allocations: 440.6 kB / 4.424 GB, free: 99.37 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/10.65, allocations: 1.479 MB / 4.425 GB, free: 98.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/10.65, allocations: 266.4 kB / 4.425 GB, free: 98.08 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/10.65, allocations: 79.5 kB / 4.425 GB, free: 98.08 MB / 0.8855 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.0005359/10.65, allocations: 145.5 kB / 4.425 GB, free: 97.95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005753/10.65, allocations: 224.2 kB / 4.426 GB, free: 97.83 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/10.66, allocations: 2.062 MB / 4.428 GB, free: 97.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/10.66, allocations: 20.34 kB / 4.428 GB, free: 97.67 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/10.66, allocations: 7.422 kB / 4.428 GB, free: 97.67 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002706/10.66, allocations: 1.869 MB / 4.429 GB, free: 97.18 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008355/10.67, allocations: 4.706 MB / 4.434 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/10.67, allocations: 9.094 kB / 4.434 GB, free: 96.38 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002006/10.67, allocations: 449.4 kB / 4.435 GB, free: 96.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004659/10.67, allocations: 90.39 kB / 4.435 GB, free: 96.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/10.67, allocations: 36.61 kB / 4.435 GB, free: 96.36 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/10.67, allocations: 2.092 MB / 4.437 GB, free: 94.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/10.67, allocations: 6.688 kB / 4.437 GB, free: 94.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/10.68, allocations: 3.33 MB / 4.44 GB, free: 93.69 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/10.68, allocations: 0.6871 MB / 4.441 GB, free: 93.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003891/10.68, allocations: 15.16 kB / 4.441 GB, free: 93.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/10.68, allocations: 224.8 kB / 4.441 GB, free: 93.35 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002463/10.68, allocations: 134.5 kB / 4.441 GB, free: 93.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/10.68, allocations: 88.55 kB / 4.441 GB, free: 93.34 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001564/10.68, allocations: 1.078 MB / 4.442 GB, free: 93.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/10.68, allocations: 3.312 kB / 4.442 GB, free: 93.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004195/10.69, allocations: 1.402 MB / 4.443 GB, free: 92.96 MB / 0.8855 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 (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.004705/10.69, allocations: 2.698 MB / 4.446 GB, free: 92.19 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00527/10.7, allocations: 2.78 MB / 4.449 GB, free: 91.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.431e-05/10.7, allocations: 8.281 kB / 4.449 GB, free: 91.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001749/10.7, allocations: 1.021 MB / 4.45 GB, free: 91.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006254/10.71, allocations: 0.9679 MB / 4.451 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007753/10.71, allocations: 3.647 MB / 4.454 GB, free: 89.76 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/10.72, allocations: 1.735 MB / 4.456 GB, free: 88.94 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005033/10.72, allocations: 0.951 MB / 4.457 GB, free: 88.72 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/10.72, allocations: 170.5 kB / 4.457 GB, free: 88.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/10.72, allocations: 0 / 4.457 GB, free: 88.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.08794/10.81, allocations: 54.34 MB / 4.51 GB, free: 53.21 MB / 0.8855 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