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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.151/1.151, allocations: 249.4 MB / 256.7 MB, free: 15.83 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.0009904/0.0009904, allocations: 188.7 kB / 316 MB, free: 7.227 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.165/1.165, allocations: 205.1 MB / 0.5667 GB, free: 23.58 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.0008201/0.0008201, allocations: 90.34 kB / 0.671 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 5.581e-06/5.601e-06, allocations: 0 / 0.7807 GB, free: 416 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3119/0.3119, allocations: 106.3 MB / 0.8845 GB, free: 76.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.303/3.615, allocations: 2.491 GB / 3.376 GB, free: 21.27 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/3.615, allocations: 90.06 kB / 3.376 GB, free: 21.23 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.436/6.051, allocations: 1.019 GB / 4.395 GB, free: 23.23 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00018/6.051, allocations: 79.92 kB / 4.395 GB, free: 23.15 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.004395/6.055, allocations: 2.83 MB / 4.398 GB, free: 20.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 2.863e-05/6.055, allocations: 8.031 kB / 4.398 GB, free: 20.25 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/6.061, allocations: 1.093 MB / 4.399 GB, free: 19.15 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003198/6.064, allocations: 2.113 MB / 4.401 GB, free: 16.96 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/6.064, allocations: 147.2 kB / 4.401 GB, free: 16.81 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/6.065, allocations: 116 kB / 4.401 GB, free: 16.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002876/6.068, allocations: 2.186 MB / 4.403 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/6.07, allocations: 1.924 MB / 4.405 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/6.07, allocations: 4 kB / 4.405 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/6.07, allocations: 7.984 kB / 4.405 GB, free: 12.52 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-05/6.07, allocations: 71.69 kB / 4.405 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009837/6.08, allocations: 8.896 MB / 4.414 GB, free: 3.148 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/6.082, allocations: 1.548 MB / 4.415 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009685/6.083, allocations: 0.8125 MB / 4.416 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006432/6.084, allocations: 0.9662 MB / 4.417 GB, free: 15.61 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001402/6.085, allocations: 0.9965 MB / 4.418 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=159): time 3.076e-06/6.085, allocations: 4 kB / 4.418 GB, free: 14.58 MB / 0.9011 GB Notification: Performance of matching and sorting (n=159): time 0.003912/6.089, allocations: 1.754 MB / 4.42 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001217/6.089, allocations: 308.1 kB / 4.42 GB, free: 12.44 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/6.091, allocations: 1.435 MB / 4.421 GB, free: 10.97 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/6.091, allocations: 33.7 kB / 4.421 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/6.092, allocations: 0.6729 MB / 4.422 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000449/6.092, allocations: 0.5041 MB / 4.423 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/6.092, allocations: 0 / 4.423 GB, free: 9.734 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001485/6.092, allocations: 365.8 kB / 4.423 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000964/6.093, allocations: 0.617 MB / 4.424 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001222/6.095, allocations: 0.9667 MB / 4.424 GB, free: 7.66 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/6.096, allocations: 0.7358 MB / 4.425 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/6.096, allocations: 0 / 4.425 GB, free: 6.926 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.003442/6.099, allocations: 1.823 MB / 4.427 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003575/6.1, allocations: 1.121 MB / 4.428 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/6.1, allocations: 0 / 4.428 GB, free: 3.898 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006175/6.1, allocations: 92.69 kB / 4.428 GB, free: 3.805 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002319/6.103, allocations: 471.3 kB / 4.429 GB, free: 3.344 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002142/6.105, allocations: 2.066 MB / 4.431 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002268/6.107, allocations: 294.7 kB / 4.431 GB, free: 0.8438 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/6.107, allocations: 75.94 kB / 4.431 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/6.107, allocations: 7.906 kB / 4.431 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2535/6.361, allocations: 1.575 MB / 4.433 GB, free: 189.2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/6.361, allocations: 3.969 kB / 4.433 GB, free: 189.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/6.361, allocations: 87.61 kB / 4.433 GB, free: 189.2 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/6.364, allocations: 459 kB / 4.433 GB, free: 189.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/6.365, allocations: 1.47 MB / 4.434 GB, free: 188 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/6.367, allocations: 286.8 kB / 4.435 GB, free: 188 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/6.368, allocations: 78.2 kB / 4.435 GB, free: 188 MB / 0.9011 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 (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.0003513/6.368, allocations: 145.3 kB / 4.435 GB, free: 187.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003115/6.368, allocations: 219.5 kB / 4.435 GB, free: 187.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004032/6.372, allocations: 2.153 MB / 4.437 GB, free: 187.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/6.372, allocations: 22.72 kB / 4.437 GB, free: 187.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/6.372, allocations: 0 / 4.437 GB, free: 187.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002661/6.375, allocations: 1.907 MB / 4.439 GB, free: 187.3 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006703/6.382, allocations: 4.778 MB / 4.444 GB, free: 186.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/6.382, allocations: 0 / 4.444 GB, free: 186.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/6.384, allocations: 469.4 kB / 4.444 GB, free: 186.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/6.384, allocations: 94.55 kB / 4.444 GB, free: 186.7 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/6.385, allocations: 31.41 kB / 4.444 GB, free: 186.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/6.386, allocations: 2.094 MB / 4.446 GB, free: 184.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/6.386, allocations: 13.44 kB / 4.446 GB, free: 184.9 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004315/6.39, allocations: 3.409 MB / 4.45 GB, free: 184.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/6.392, allocations: 0.6832 MB / 4.45 GB, free: 183.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003494/6.392, allocations: 14.69 kB / 4.45 GB, free: 183.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/6.394, allocations: 241.5 kB / 4.451 GB, free: 183.8 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/6.394, allocations: 120.5 kB / 4.451 GB, free: 183.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/6.394, allocations: 81.14 kB / 4.451 GB, free: 183.8 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001334/6.396, allocations: 1.095 MB / 4.452 GB, free: 183.6 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.002935/6.399, allocations: 1.404 MB / 4.453 GB, free: 183.5 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.002992/6.402, allocations: 2.664 MB / 4.456 GB, free: 183 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003906/6.406, allocations: 2.776 MB / 4.459 GB, free: 182.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/6.406, allocations: 6.125 kB / 4.459 GB, free: 182.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001435/6.407, allocations: 1.041 MB / 4.46 GB, free: 182.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004038/6.411, allocations: 0.94 MB / 4.461 GB, free: 182.5 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007202/6.418, allocations: 3.832 MB / 4.464 GB, free: 181.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/6.42, allocations: 1.984 MB / 4.466 GB, free: 180.9 MB / 0.9011 GB Notification: Performance of SimCode: time 5.41e-07/6.42, allocations: 2.406 kB / 4.466 GB, free: 180.9 MB / 0.9011 GB Notification: Performance of Templates: time 0.07868/6.499, allocations: 65.78 MB / 4.531 GB, free: 179.4 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