Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.048/2.048, allocations: 387.2 MB / 394.5 MB, free: 13.7 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.001323/0.001323, allocations: 181.2 kB / 487 MB, free: 5.379 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.376/1.376, allocations: 221.3 MB / 0.7819 GB, free: 1.379 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 91.98 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.598e-06/9.618e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.293, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7504/1.043, allocations: 149 MB / 1.351 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.044, allocations: 89.41 kB / 1.351 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.00335/1.047, allocations: 0.9749 MB / 1.352 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.807e-06/1.047, allocations: 1.281 kB / 1.352 GB, free: 15.66 MB / 0.8073 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.0004843/1.048, allocations: 401.9 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/1.048, allocations: 11.22 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/1.048, allocations: 10.03 kB / 1.352 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/1.048, allocations: 171 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/1.048, allocations: 1.375 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/1.048, allocations: 2.75 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001236/1.048, allocations: 33.91 kB / 1.352 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/1.048, allocations: 52 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.048, allocations: 0 / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/1.048, allocations: 4 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/1.048, allocations: 2.719 kB / 1.352 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/1.049, allocations: 278.4 kB / 1.353 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/1.049, allocations: 52.2 kB / 1.353 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.911e-05/1.049, allocations: 27.97 kB / 1.353 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/1.049, allocations: 8.969 kB / 1.353 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/1.049, allocations: 36.52 kB / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/1.049, allocations: 0 / 1.353 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6): time 0.0001865/1.049, allocations: 65.33 kB / 1.353 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/1.049, allocations: 58.19 kB / 1.353 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/1.049, allocations: 109.2 kB / 1.353 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/1.049, allocations: 26.97 kB / 1.353 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.713e-05/1.049, allocations: 88.44 kB / 1.353 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/1.049, allocations: 23.36 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/1.049, allocations: 1.531 kB / 1.353 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.013e-05/1.049, allocations: 317.8 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/1.049, allocations: 11.56 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/1.049, allocations: 17.25 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.224e-05/1.049, allocations: 11.77 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/1.049, allocations: 1.312 kB / 1.354 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001115/1.05, allocations: 70.98 kB / 1.354 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/1.05, allocations: 7.531 kB / 1.354 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/1.05, allocations: 5.219 kB / 1.354 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/1.05, allocations: 0 / 1.354 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001906/1.05, allocations: 46.31 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/1.05, allocations: 1.438 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/1.05, allocations: 30.53 kB / 1.354 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/1.05, allocations: 1.125 kB / 1.354 GB, free: 14.04 MB / 0.8073 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.732e-05/1.05, allocations: 108.7 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/1.05, allocations: 7.406 kB / 1.354 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/1.05, allocations: 10.67 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/1.05, allocations: 1.094 kB / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.05, allocations: 0 / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.05, allocations: 0 / 1.354 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/1.05, allocations: 159.3 kB / 1.354 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/1.05, allocations: 1.234 kB / 1.354 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/1.05, allocations: 48.91 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.05, allocations: 1.281 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.05, allocations: 4 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.05, allocations: 1.547 kB / 1.354 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/1.05, allocations: 5.094 kB / 1.354 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001323/1.051, allocations: 166.3 kB / 1.354 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/1.051, allocations: 84.62 kB / 1.354 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/1.051, allocations: 1.062 kB / 1.354 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/1.051, allocations: 30.36 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.352e-05/1.051, allocations: 6.125 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/1.051, allocations: 1 kB / 1.354 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.63e-05/1.051, allocations: 95.12 kB / 1.354 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005121/1.051, allocations: 15.56 kB / 1.354 GB, free: 13.42 MB / 0.8073 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.0001501/1.052, allocations: 100.5 kB / 1.355 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001569/1.052, allocations: 35.94 kB / 1.355 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/1.052, allocations: 0.6562 kB / 1.355 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.647e-05/1.052, allocations: 27.08 kB / 1.355 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/1.052, allocations: 12.92 kB / 1.355 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003767/1.052, allocations: 100.7 kB / 1.355 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004037/1.053, allocations: 0.7068 MB / 1.355 GB, free: 28.54 MB / 0.823 GB Notification: Performance of SimCode: time 2.51e-07/1.053, allocations: 0 / 1.355 GB, free: 28.54 MB / 0.823 GB Notification: Performance of Templates: time 0.003857/1.057, allocations: 0.9654 MB / 1.356 GB, free: 28.47 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches