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.333/1.333, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 171.2 kB / 326.5 MB, free: 2.258 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.59/1.59, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001001/0.001, allocations: 86 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003449, allocations: 9.812 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2275, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.261/5.488, allocations: 2.492 GB / 3.392 GB, free: 17.79 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/5.488, allocations: 96.33 kB / 3.392 GB, free: 17.74 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.248/8.737, allocations: 1.021 GB / 4.413 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.238e-06/8.737, allocations: 0 / 4.413 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003254/8.737, allocations: 71.92 kB / 4.413 GB, free: 7.234 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.007727/8.745, allocations: 3.208 MB / 4.416 GB, free: 3.945 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/8.745, allocations: 8.031 kB / 4.416 GB, free: 3.938 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006098/8.751, allocations: 1.023 MB / 4.417 GB, free: 2.91 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004809/8.756, allocations: 2.098 MB / 4.419 GB, free: 0.7422 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001815/8.756, allocations: 223.2 kB / 4.419 GB, free: 0.5117 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/8.756, allocations: 207.9 kB / 4.419 GB, free: 316 kB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004977/8.761, allocations: 2.396 MB / 4.422 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.06e-05/8.761, allocations: 0 / 4.422 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/8.762, allocations: 84 kB / 4.422 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.195e-05/8.762, allocations: 71.62 kB / 4.422 GB, free: 13.7 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005742/8.767, allocations: 2.727 MB / 4.424 GB, free: 10.97 MB / 0.9011 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.01433/8.782, allocations: 8.753 MB / 4.433 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5815/9.363, allocations: 2.355 MB / 4.435 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001313/9.365, allocations: 0.8815 MB / 4.436 GB, free: 130.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003518/9.368, allocations: 1.268 MB / 4.437 GB, free: 130.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=159): time 4.509e-06/9.368, allocations: 2.438 kB / 4.437 GB, free: 130.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=159): time 0.009323/9.378, allocations: 3.223 MB / 4.441 GB, free: 130.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/9.378, allocations: 253 kB / 4.441 GB, free: 129.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003454/9.381, allocations: 1.666 MB / 4.442 GB, free: 129.7 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.000366/9.382, allocations: 65.17 kB / 4.442 GB, free: 129.7 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001185/9.383, allocations: 1.04 MB / 4.443 GB, free: 129.5 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006706/9.383, allocations: 0.5232 MB / 4.444 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/9.384, allocations: 27.25 kB / 4.444 GB, free: 129.2 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001327/9.384, allocations: 365.6 kB / 4.444 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/9.386, allocations: 0.8489 MB / 4.445 GB, free: 128.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002985/9.389, allocations: 1.214 MB / 4.446 GB, free: 128.6 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/9.392, allocations: 0.9615 MB / 4.447 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/9.392, allocations: 2.25 kB / 4.447 GB, free: 128.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007183/9.399, allocations: 2.352 MB / 4.45 GB, free: 128.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002648/9.399, allocations: 1.061 MB / 4.451 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/9.399, allocations: 2.688 kB / 4.451 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006936/9.4, allocations: 90.53 kB / 4.451 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/9.402, allocations: 449.5 kB / 4.451 GB, free: 127.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/9.405, allocations: 2.149 MB / 4.453 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003217/9.408, allocations: 336.7 kB / 4.454 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000218/9.408, allocations: 73.16 kB / 4.454 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/9.408, allocations: 3.469 kB / 4.454 GB, free: 125.3 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005487/9.414, allocations: 2.133 MB / 4.456 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/9.414, allocations: 0.6562 kB / 4.456 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/9.414, allocations: 94.41 kB / 4.456 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00214/9.416, allocations: 431 kB / 4.456 GB, free: 125.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/9.418, allocations: 1.56 MB / 4.458 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003479/9.422, allocations: 327.5 kB / 4.458 GB, free: 123.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002167/9.422, allocations: 75.58 kB / 4.458 GB, free: 123.9 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 () * 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.001911/9.424, allocations: 0.5979 MB / 4.459 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006615/9.425, allocations: 238.7 kB / 4.459 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006227/9.431, allocations: 2.659 MB / 4.462 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/9.431, allocations: 23.14 kB / 4.462 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/9.431, allocations: 3.844 kB / 4.462 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004669/9.436, allocations: 2.398 MB / 4.464 GB, free: 122.9 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.011/9.447, allocations: 5.377 MB / 4.469 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/9.447, allocations: 3.188 kB / 4.469 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002055/9.449, allocations: 448.4 kB / 4.47 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/9.449, allocations: 98.05 kB / 4.47 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/9.449, allocations: 58.75 kB / 4.47 GB, free: 122.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001844/9.451, allocations: 2.156 MB / 4.472 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/9.451, allocations: 11.36 kB / 4.472 GB, free: 120.4 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007965/9.459, allocations: 4.157 MB / 4.476 GB, free: 119.6 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/9.461, allocations: 0.7178 MB / 4.477 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/9.462, allocations: 37.97 kB / 4.477 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002255/9.464, allocations: 260.5 kB / 4.477 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/9.464, allocations: 137.9 kB / 4.477 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/9.464, allocations: 78.47 kB / 4.477 GB, free: 119.3 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002281/9.467, allocations: 1.317 MB / 4.478 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of sort global known variables: time 3.51e-07/9.467, allocations: 0 / 4.478 GB, free: 119.2 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.005504/9.472, allocations: 1.512 MB / 4.48 GB, free: 119.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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) * 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.004732/9.477, allocations: 2.588 MB / 4.482 GB, free: 118.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008568/9.485, allocations: 3.522 MB / 4.486 GB, free: 118.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/9.486, allocations: 7.125 kB / 4.486 GB, free: 118.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00311/9.489, allocations: 1.296 MB / 4.487 GB, free: 118 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005831/9.495, allocations: 1.089 MB / 4.488 GB, free: 118 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/9.507, allocations: 5.731 MB / 4.494 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/9.508, allocations: 1.718 MB / 4.495 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004237/9.512, allocations: 0.7998 MB / 4.496 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008122/9.513, allocations: 213.7 kB / 4.496 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of SimCode: time 2.786e-06/9.513, allocations: 0 / 4.496 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.1121/9.625, allocations: 66.88 MB / 4.562 GB, free: 111.8 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