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") [: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 10.0.0-master/package.mo): time 1.995/1.995, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001063/0.001063, allocations: 177.3 kB / 490.8 MB, free: 1.918 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.249/1.249, allocations: 221.4 MB / 0.7863 GB, free: 13.61 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.0009351/0.0009353, allocations: 95.41 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.825e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2609, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.482/4.743, allocations: 2.219 GB / 3.43 GB, free: 106.1 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/4.743, allocations: 90.45 kB / 3.43 GB, free: 106 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.581/8.325, allocations: 1.062 GB / 4.492 GB, free: 188.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002206/8.325, allocations: 78.39 kB / 4.492 GB, free: 188.5 MB / 1.167 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.006359/8.331, allocations: 2.855 MB / 4.495 GB, free: 187.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/8.331, allocations: 14.19 kB / 4.495 GB, free: 187.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007203/8.339, allocations: 1.045 MB / 4.496 GB, free: 187.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004881/8.344, allocations: 2.13 MB / 4.498 GB, free: 186.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/8.344, allocations: 150.6 kB / 4.499 GB, free: 186.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000301/8.344, allocations: 116.7 kB / 4.499 GB, free: 186.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003475/8.348, allocations: 2.256 MB / 4.501 GB, free: 186.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/8.351, allocations: 1.959 MB / 4.503 GB, free: 186.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/8.351, allocations: 6.156 kB / 4.503 GB, free: 186.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/8.351, allocations: 3.781 kB / 4.503 GB, free: 186.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/8.351, allocations: 75.17 kB / 4.503 GB, free: 186.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01309/8.364, allocations: 9.127 MB / 4.512 GB, free: 183.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/8.366, allocations: 1.561 MB / 4.513 GB, free: 183.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/8.367, allocations: 0.855 MB / 4.514 GB, free: 183.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006452/8.368, allocations: 0.8842 MB / 4.515 GB, free: 182.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001341/8.369, allocations: 1.032 MB / 4.516 GB, free: 182.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=160): time 3.186e-06/8.369, allocations: 0 / 4.516 GB, free: 182.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=160): time 0.01214/8.381, allocations: 2.635 MB / 4.519 GB, free: 181.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/8.381, allocations: 305.7 kB / 4.519 GB, free: 181.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/8.384, allocations: 1.437 MB / 4.52 GB, free: 181.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004514/8.384, allocations: 35.92 kB / 4.52 GB, free: 181.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005248/8.385, allocations: 0.6842 MB / 4.521 GB, free: 181.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006379/8.385, allocations: 0.5098 MB / 4.521 GB, free: 180.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/8.385, allocations: 0 / 4.521 GB, free: 180.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.837e-05/8.386, allocations: 360.1 kB / 4.522 GB, free: 180.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/8.387, allocations: 0.6503 MB / 4.522 GB, free: 180.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/8.388, allocations: 0.98 MB / 4.523 GB, free: 180.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/8.389, allocations: 0.7638 MB / 4.524 GB, free: 180.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/8.389, allocations: 3.391 kB / 4.524 GB, free: 180.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01174/8.401, allocations: 2.695 MB / 4.527 GB, free: 179.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003415/8.401, allocations: 1.119 MB / 4.528 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/8.401, allocations: 3.906 kB / 4.528 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/8.403, allocations: 0.5624 MB / 4.528 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/8.405, allocations: 374.1 kB / 4.529 GB, free: 178.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01539/8.42, allocations: 5.36 MB / 4.534 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003206/8.423, allocations: 290.2 kB / 4.534 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/8.424, allocations: 81.61 kB / 4.534 GB, free: 175.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.003e-06/8.424, allocations: 7.219 kB / 4.534 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01109/8.435, allocations: 2.448 MB / 4.537 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/8.435, allocations: 3.938 kB / 4.537 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/8.436, allocations: 0.5617 MB / 4.537 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001807/8.438, allocations: 363 kB / 4.538 GB, free: 175.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/8.453, allocations: 4.766 MB / 4.542 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003371/8.456, allocations: 286 kB / 4.543 GB, free: 173.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000253/8.456, allocations: 74.95 kB / 4.543 GB, free: 173.1 MB / 1.167 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 (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 {1 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004941/8.457, allocations: 134.7 kB / 4.543 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/8.457, allocations: 228.7 kB / 4.543 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01278/8.47, allocations: 3.029 MB / 4.546 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-05/8.47, allocations: 14.91 kB / 4.546 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/8.47, allocations: 6.281 kB / 4.546 GB, free: 172.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01146/8.482, allocations: 2.776 MB / 4.549 GB, free: 172.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/8.499, allocations: 5.735 MB / 4.554 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/8.499, allocations: 3.938 kB / 4.554 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/8.501, allocations: 370.5 kB / 4.555 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/8.502, allocations: 0.5613 MB / 4.555 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/8.502, allocations: 35.38 kB / 4.555 GB, free: 171.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01491/8.517, allocations: 5.376 MB / 4.56 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/8.517, allocations: 6.156 kB / 4.56 GB, free: 168.4 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01363/8.531, allocations: 4.305 MB / 4.565 GB, free: 167.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/8.533, allocations: 0.6902 MB / 4.565 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000601/8.533, allocations: 14.16 kB / 4.565 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002587/8.536, allocations: 234.2 kB / 4.566 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/8.536, allocations: 122.2 kB / 4.566 GB, free: 167.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002012/8.536, allocations: 80.91 kB / 4.566 GB, free: 167.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.00149/8.538, allocations: 1.094 MB / 4.567 GB, free: 167.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003959/8.542, allocations: 1.526 MB / 4.568 GB, free: 166.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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) * 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 {1 8,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003247/8.545, allocations: 2.711 MB / 4.571 GB, free: 166.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006974/8.552, allocations: 3.281 MB / 4.574 GB, free: 165.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/8.552, allocations: 2.312 kB / 4.574 GB, free: 165.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.003001/8.555, allocations: 1.272 MB / 4.575 GB, free: 165.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004338/8.559, allocations: 0.9358 MB / 4.576 GB, free: 165.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/8.57, allocations: 4.169 MB / 4.58 GB, free: 164.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00177/8.572, allocations: 1.963 MB / 4.582 GB, free: 163.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.52e-07/8.572, allocations: 0 / 4.582 GB, free: 163.7 MB / 1.167 GB Notification: Performance of Templates: time 0.1131/8.685, allocations: 75.73 MB / 4.656 GB, free: 160.4 MB / 1.167 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