Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.227/1.227, allocations: 249.4 MB / 256.7 MB, free: 6.969 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.0009306/0.0009307, allocations: 184.8 kB / 316 MB, free: 3.523 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.226/1.226, allocations: 205.1 MB / 0.5667 GB, free: 15.64 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.0009322/0.0009323, allocations: 91.25 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.333e-06, allocations: 0 / 0.7807 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1734, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4957/0.6691, allocations: 136.3 MB / 1.018 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.6695, allocations: 97.45 kB / 1.018 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01855/0.688, allocations: 6.566 MB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.502e-05/0.6881, allocations: 4 kB / 1.024 GB, free: 12.75 MB / 0.6511 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.0008065/0.6889, allocations: 0.7451 MB / 1.025 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.6889, allocations: 8.031 kB / 1.025 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.689, allocations: 35.53 kB / 1.025 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.6894, allocations: 314.9 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.6894, allocations: 4 kB / 1.025 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.6895, allocations: 12 kB / 1.025 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002879/0.6898, allocations: 202.7 kB / 1.025 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.6901, allocations: 236.6 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.6901, allocations: 3.938 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/0.6902, allocations: 3.984 kB / 1.026 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.6902, allocations: 4 kB / 1.026 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.6913, allocations: 0.7027 MB / 1.026 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.6916, allocations: 201 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.6918, allocations: 152.9 kB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.6918, allocations: 7.938 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.6919, allocations: 30.56 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.6919, allocations: 0 / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0005329/0.6924, allocations: 353.3 kB / 1.027 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.6925, allocations: 135.8 kB / 1.027 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.6928, allocations: 312.4 kB / 1.028 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.6928, allocations: 25.7 kB / 1.028 GB, free: 9.641 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.988e-05/0.6929, allocations: 138.2 kB / 1.028 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.6929, allocations: 38.27 kB / 1.028 GB, free: 9.484 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.472e-05/0.6929, allocations: 4 kB / 1.028 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.693, allocations: 340.4 kB / 1.028 GB, free: 9.148 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000224/0.6933, allocations: 198.2 kB / 1.028 GB, free: 9.016 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.6935, allocations: 202.4 kB / 1.028 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.6938, allocations: 194.9 kB / 1.029 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.6938, allocations: 4 kB / 1.029 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006186/0.6944, allocations: 486 kB / 1.029 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.6944, allocations: 4 kB / 1.029 GB, free: 8.379 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.6945, allocations: 4 kB / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.6945, allocations: 0 / 1.029 GB, free: 8.375 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.6947, allocations: 39.97 kB / 1.029 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.6947, allocations: 4.094 kB / 1.029 GB, free: 8.332 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.6949, allocations: 63.64 kB / 1.029 GB, free: 8.266 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/0.695, allocations: 11.44 kB / 1.029 GB, free: 8.258 MB / 0.6511 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.0001242/0.6951, allocations: 197.5 kB / 1.029 GB, free: 8.043 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/0.6952, allocations: 31.62 kB / 1.029 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.915e-05/0.6952, allocations: 28.95 kB / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6952, allocations: 0 / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.6952, allocations: 0 / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.6952, allocations: 0 / 1.029 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002648/0.6955, allocations: 315.1 kB / 1.03 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.6955, allocations: 4 kB / 1.03 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.6957, allocations: 43.97 kB / 1.03 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6957, allocations: 0 / 1.03 GB, free: 7.656 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.6957, allocations: 4 kB / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6957, allocations: 0 / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6957, allocations: 0 / 1.03 GB, free: 7.652 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005003/0.6963, allocations: 470.8 kB / 1.03 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.6963, allocations: 108.4 kB / 1.03 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.6964, allocations: 4 kB / 1.03 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.6966, allocations: 43.95 kB / 1.03 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.6967, allocations: 29.84 kB / 1.03 GB, free: 7.082 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.775e-05/0.6968, allocations: 7.938 kB / 1.03 GB, free: 7.074 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001936/0.697, allocations: 243 kB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000412/0.6974, allocations: 111.6 kB / 1.031 GB, free: 6.785 MB / 0.6511 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.0004719/0.6979, allocations: 275.5 kB / 1.031 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005503/0.6984, allocations: 0.5384 MB / 1.032 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6984, allocations: 0 / 1.032 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.00025/0.6987, allocations: 269.7 kB / 1.032 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.699, allocations: 59.17 kB / 1.032 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007858/0.6998, allocations: 0.4975 MB / 1.032 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003539/0.7002, allocations: 0.8077 MB / 1.033 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.7002, allocations: 4 kB / 1.033 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of Templates: time 0.008482/0.7087, allocations: 5.267 MB / 1.038 GB, free: 15.38 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches