Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001204/0.001204, allocations: 195.9 kB / 0.4902 GB, free: 2.301 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.582/1.582, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001035/0.001035, allocations: 99.45 kB / 0.9396 GB, free: 1.961 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004063, allocations: 11.12 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3288, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.634/5.963, allocations: 2.219 GB / 3.449 GB, free: 177 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/5.963, allocations: 98.05 kB / 3.449 GB, free: 176.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.545/9.508, allocations: 1.063 GB / 4.511 GB, free: 13.52 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.745e-06/9.508, allocations: 0 / 4.511 GB, free: 13.52 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004826/9.509, allocations: 71.92 kB / 4.512 GB, free: 13.45 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.01216/9.521, allocations: 3.243 MB / 4.515 GB, free: 10.13 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/9.521, allocations: 11.98 kB / 4.515 GB, free: 10.12 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007649/9.529, allocations: 0.972 MB / 4.516 GB, free: 9.141 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008221/9.537, allocations: 2.131 MB / 4.518 GB, free: 6.938 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000475/9.537, allocations: 223.2 kB / 4.518 GB, free: 6.707 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/9.539, allocations: 192 kB / 4.518 GB, free: 6.52 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/9.551, allocations: 2.436 MB / 4.521 GB, free: 4.027 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/9.551, allocations: 3.906 kB / 4.521 GB, free: 4.023 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00107/9.552, allocations: 83.98 kB / 4.521 GB, free: 3.941 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001373/9.552, allocations: 67.7 kB / 4.521 GB, free: 3.875 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009639/9.562, allocations: 2.762 MB / 4.523 GB, free: 1.109 MB / 1.182 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.9455/10.51, allocations: 8.875 MB / 4.532 GB, free: 201.4 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008255/10.52, allocations: 2.369 MB / 4.534 GB, free: 201.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009243/10.52, allocations: 0.8043 MB / 4.535 GB, free: 200.5 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003373/10.52, allocations: 1.275 MB / 4.536 GB, free: 200.4 MB / 1.182 GB Notification: Performance of pre-optimization done (n=160): time 4.598e-06/10.52, allocations: 0 / 4.536 GB, free: 200.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=160): time 0.03271/10.55, allocations: 5.806 MB / 4.542 GB, free: 200 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/10.55, allocations: 252.5 kB / 4.542 GB, free: 199.7 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/10.56, allocations: 1.693 MB / 4.544 GB, free: 199.5 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.000692/10.56, allocations: 62.64 kB / 4.544 GB, free: 199.5 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/10.56, allocations: 1.044 MB / 4.545 GB, free: 199.3 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009819/10.56, allocations: 0.5289 MB / 4.546 GB, free: 199 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/10.56, allocations: 26.25 kB / 4.546 GB, free: 199 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001249/10.56, allocations: 370.1 kB / 4.546 GB, free: 198.7 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002443/10.56, allocations: 0.8628 MB / 4.547 GB, free: 198.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002659/10.57, allocations: 1.205 MB / 4.548 GB, free: 198.4 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002558/10.57, allocations: 0.9611 MB / 4.549 GB, free: 198.3 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/10.57, allocations: 0 / 4.549 GB, free: 198.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01529/10.58, allocations: 3.276 MB / 4.552 GB, free: 198.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.000275/10.58, allocations: 1.061 MB / 4.553 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/10.58, allocations: 2.906 kB / 4.553 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002843/10.59, allocations: 0.7973 MB / 4.554 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/10.59, allocations: 361.9 kB / 4.554 GB, free: 196.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0222/10.61, allocations: 6.978 MB / 4.561 GB, free: 193.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/10.61, allocations: 327.6 kB / 4.561 GB, free: 193.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000406/10.62, allocations: 73.8 kB / 4.561 GB, free: 193.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/10.62, allocations: 3.844 kB / 4.561 GB, free: 193.8 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01357/10.63, allocations: 3.049 MB / 4.564 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/10.63, allocations: 6.562 kB / 4.564 GB, free: 193.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/10.63, allocations: 0.7935 MB / 4.565 GB, free: 193.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/10.63, allocations: 350.2 kB / 4.566 GB, free: 193.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02238/10.66, allocations: 6.375 MB / 4.572 GB, free: 191.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/10.66, allocations: 325 kB / 4.572 GB, free: 191 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005294/10.66, allocations: 72.64 kB / 4.572 GB, free: 191 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 (171): * Single equations (assignments): 167 * 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: 2 * 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: 2 {2 7,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002613/10.66, allocations: 0.603 MB / 4.573 GB, free: 190.9 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/10.66, allocations: 233.9 kB / 4.573 GB, free: 190.7 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/10.68, allocations: 3.587 MB / 4.576 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.144e-05/10.68, allocations: 18.66 kB / 4.576 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/10.68, allocations: 0 / 4.576 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01346/10.69, allocations: 3.319 MB / 4.58 GB, free: 190.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02035/10.71, allocations: 6.37 MB / 4.586 GB, free: 189.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/10.71, allocations: 3.344 kB / 4.586 GB, free: 189.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/10.71, allocations: 371 kB / 4.586 GB, free: 189.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002444/10.72, allocations: 0.798 MB / 4.587 GB, free: 189.4 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003174/10.72, allocations: 56.98 kB / 4.587 GB, free: 189.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02204/10.74, allocations: 6.975 MB / 4.594 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/10.74, allocations: 3.531 kB / 4.594 GB, free: 186.3 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01865/10.76, allocations: 5.067 MB / 4.599 GB, free: 185.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002509/10.76, allocations: 0.7156 MB / 4.6 GB, free: 185.1 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000566/10.76, allocations: 37.22 kB / 4.6 GB, free: 185.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/10.76, allocations: 254.6 kB / 4.6 GB, free: 185.1 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/10.76, allocations: 143 kB / 4.6 GB, free: 185.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001744/10.76, allocations: 85.41 kB / 4.6 GB, free: 185.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.00208/10.77, allocations: 1.33 MB / 4.601 GB, free: 185 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.5e-07/10.77, allocations: 2.25 kB / 4.601 GB, free: 185 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.005373/10.77, allocations: 1.637 MB / 4.603 GB, free: 184.9 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 (166): * Single equations (assignments): 156 * 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: 2 * 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: 2 {2 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005154/10.78, allocations: 2.614 MB / 4.606 GB, free: 184.3 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01296/10.79, allocations: 4.302 MB / 4.61 GB, free: 183.7 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/10.79, allocations: 3.938 kB / 4.61 GB, free: 183.7 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.005248/10.8, allocations: 1.686 MB / 4.611 GB, free: 183.4 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006295/10.8, allocations: 1.095 MB / 4.612 GB, free: 183.4 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/10.82, allocations: 5.958 MB / 4.618 GB, free: 181.1 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/10.82, allocations: 1.725 MB / 4.62 GB, free: 180.3 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003791/10.82, allocations: 0.7659 MB / 4.621 GB, free: 180.3 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006912/10.82, allocations: 215.6 kB / 4.621 GB, free: 180.3 MB / 1.182 GB Notification: Performance of SimCode: time 1.373e-06/10.82, allocations: 0 / 4.621 GB, free: 180.3 MB / 1.182 GB Notification: Performance of Templates: time 0.125/10.95, allocations: 79.4 MB / 4.698 GB, free: 175.9 MB / 1.182 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches