Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower") [: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.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 7.078 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.001008/0.001008, allocations: 177.1 kB / 316 MB, free: 3.57 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.067/1.067, allocations: 205.1 MB / 0.5667 GB, free: 15.77 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.0008337/0.0008337, allocations: 98.58 kB / 0.671 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.657e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1637, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.6167, allocations: 132.5 MB / 1.014 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.617, allocations: 88.31 kB / 1.014 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003376/0.6204, allocations: 0.9759 MB / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.6204, allocations: 0 / 1.015 GB, free: 5.613 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005257/0.6209, allocations: 401.8 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.621, allocations: 12.03 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.41e-05/0.621, allocations: 3.906 kB / 1.015 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.6212, allocations: 172.8 kB / 1.016 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.6212, allocations: 4 kB / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.6212, allocations: 0 / 1.016 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001275/0.6214, allocations: 30.94 kB / 1.016 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.6215, allocations: 62.86 kB / 1.016 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.6215, allocations: 3.906 kB / 1.016 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6215, allocations: 0 / 1.016 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.6215, allocations: 0 / 1.016 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004676/0.622, allocations: 278.7 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.6222, allocations: 51.11 kB / 1.016 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.089e-05/0.6222, allocations: 31.91 kB / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.6223, allocations: 0 / 1.016 GB, free: 4.508 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.6223, allocations: 30.56 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.6223, allocations: 2.734 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0002113/0.6225, allocations: 74.16 kB / 1.016 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.6226, allocations: 51.41 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.6227, allocations: 106.5 kB / 1.016 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.6227, allocations: 26.64 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.467e-05/0.6228, allocations: 87.2 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.6228, allocations: 19.64 kB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.6228, allocations: 4 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6229, allocations: 314.1 kB / 1.017 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.623, allocations: 18.5 kB / 1.017 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.735e-05/0.623, allocations: 14.12 kB / 1.017 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.54e-05/0.6231, allocations: 21.88 kB / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6231, allocations: 0 / 1.017 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001172/0.6232, allocations: 67.53 kB / 1.017 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.6232, allocations: 7.938 kB / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.6232, allocations: 0 / 1.017 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6232, allocations: 4 kB / 1.017 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.6234, allocations: 35.97 kB / 1.017 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.6235, allocations: 3.906 kB / 1.017 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.6236, allocations: 31.97 kB / 1.017 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.6237, allocations: 4 kB / 1.017 GB, free: 3.602 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.043e-05/0.6238, allocations: 104 kB / 1.017 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.6238, allocations: 15.84 kB / 1.017 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.6238, allocations: 11.8 kB / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.6238, allocations: 0 / 1.017 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.6238, allocations: 3.938 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6239, allocations: 4 kB / 1.017 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.624, allocations: 159.3 kB / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.624, allocations: 0 / 1.017 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.6242, allocations: 39.97 kB / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6242, allocations: 0 / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.6242, allocations: 0 / 1.017 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6242, allocations: 4 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6242, allocations: 0 / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001597/0.6244, allocations: 175.7 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.593e-05/0.6245, allocations: 81.11 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.6245, allocations: 3.984 kB / 1.017 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.6247, allocations: 31.89 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.6247, allocations: 3.984 kB / 1.018 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.6248, allocations: 4 kB / 1.018 GB, free: 2.922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.239e-05/0.6248, allocations: 98.33 kB / 1.018 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002125/0.625, allocations: 11.94 kB / 1.018 GB, free: 2.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001635/0.6252, allocations: 103.2 kB / 1.018 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.6254, allocations: 41.69 kB / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.6254, allocations: 0 / 1.018 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.217e-05/0.6254, allocations: 22.31 kB / 1.018 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.6257, allocations: 14.8 kB / 1.018 GB, free: 2.656 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.626, allocations: 98.58 kB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/0.6264, allocations: 0.7097 MB / 1.019 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of SimCode: time 2.8e-07/0.6264, allocations: 3.938 kB / 1.019 GB, free: 1.801 MB / 0.6355 GB Notification: Performance of Templates: time 0.003106/0.6295, allocations: 0.9531 MB / 1.02 GB, free: 0.875 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches