Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [: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.102/2.102, allocations: 387.2 MB / 394.5 MB, free: 13.58 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.00108/0.00108, allocations: 173.3 kB / 487 MB, free: 5.309 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.533/1.533, allocations: 221.3 MB / 0.7819 GB, free: 1.27 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.001146/0.001147, allocations: 104.1 kB / 0.9213 GB, free: 2.516 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.596e-06/8.626e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2727, allocations: 142.4 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8415/1.114, allocations: 152.8 MB / 1.354 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003255/1.115, allocations: 95.09 kB / 1.355 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02213/1.137, allocations: 6.629 MB / 1.361 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.765e-05/1.137, allocations: 4 kB / 1.361 GB, free: 14.67 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008889/1.138, allocations: 0.7374 MB / 1.362 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/1.138, allocations: 9.031 kB / 1.362 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/1.138, allocations: 32.42 kB / 1.362 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/1.138, allocations: 315.3 kB / 1.362 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/1.138, allocations: 8 kB / 1.362 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/1.138, allocations: 15.94 kB / 1.362 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003219/1.139, allocations: 195.9 kB / 1.362 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000359/1.139, allocations: 237.4 kB / 1.362 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.139, allocations: 7.891 kB / 1.362 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/1.139, allocations: 4 kB / 1.363 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.139, allocations: 0 / 1.363 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/1.14, allocations: 0.707 MB / 1.363 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003423/1.141, allocations: 202.2 kB / 1.363 GB, free: 12.65 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/1.141, allocations: 151.8 kB / 1.364 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/1.141, allocations: 3.938 kB / 1.364 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/1.141, allocations: 42.31 kB / 1.364 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/1.141, allocations: 0 / 1.364 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0005358/1.141, allocations: 345.1 kB / 1.364 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.875e-05/1.142, allocations: 145.4 kB / 1.364 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/1.142, allocations: 299.9 kB / 1.364 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/1.142, allocations: 29.7 kB / 1.364 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/1.142, allocations: 135 kB / 1.364 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/1.142, allocations: 47.11 kB / 1.365 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/1.142, allocations: 0 / 1.365 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/1.142, allocations: 337.2 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/1.142, allocations: 199.2 kB / 1.365 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/1.142, allocations: 201.8 kB / 1.365 GB, free: 11.03 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/1.143, allocations: 200.6 kB / 1.365 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.143, allocations: 4 kB / 1.365 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005695/1.143, allocations: 485.3 kB / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/1.143, allocations: 4 kB / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.143, allocations: 0 / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.143, allocations: 0 / 1.366 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001879/1.144, allocations: 39.97 kB / 1.366 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/1.144, allocations: 4 kB / 1.366 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/1.144, allocations: 51.8 kB / 1.366 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/1.144, allocations: 11.81 kB / 1.366 GB, free: 10.42 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * 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 0.0001122/1.144, allocations: 205.4 kB / 1.366 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/1.144, allocations: 23.72 kB / 1.366 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/1.144, allocations: 25.39 kB / 1.366 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.144, allocations: 4 kB / 1.366 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.144, allocations: 7.906 kB / 1.366 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/1.144, allocations: 3.938 kB / 1.366 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/1.144, allocations: 310.1 kB / 1.367 GB, free: 9.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.144, allocations: 7.891 kB / 1.367 GB, free: 9.848 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/1.145, allocations: 39.97 kB / 1.367 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/1.145, allocations: 0 / 1.367 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.145, allocations: 4 kB / 1.367 GB, free: 9.805 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/1.145, allocations: 4 kB / 1.367 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.145, allocations: 4 kB / 1.367 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004653/1.145, allocations: 461.2 kB / 1.367 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/1.145, allocations: 103.3 kB / 1.367 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.943e-05/1.145, allocations: 4 kB / 1.367 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/1.145, allocations: 47.86 kB / 1.367 GB, free: 9.258 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/1.146, allocations: 26.84 kB / 1.367 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/1.146, allocations: 11.56 kB / 1.367 GB, free: 9.234 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001847/1.146, allocations: 243.8 kB / 1.367 GB, free: 9.051 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004887/1.146, allocations: 119.3 kB / 1.368 GB, free: 8.941 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: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * 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.0004728/1.147, allocations: 270 kB / 1.368 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000508/1.147, allocations: 0.5399 MB / 1.368 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.147, allocations: 0 / 1.368 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002411/1.148, allocations: 263.9 kB / 1.369 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/1.148, allocations: 67.47 kB / 1.369 GB, free: 7.949 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/1.149, allocations: 497 kB / 1.369 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/1.149, allocations: 0.8077 MB / 1.37 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of SimCode: time 1.072e-06/1.149, allocations: 4 kB / 1.37 GB, free: 6.707 MB / 0.8073 GB Notification: Performance of Templates: time 0.008324/1.157, allocations: 5.268 MB / 1.375 GB, free: 1.543 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches