Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.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_latest_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_latest_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 10.0.0-master/package.mo): time 2.007/2.007, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.001127/0.001127, allocations: 189.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.407/1.407, allocations: 221.3 MB / 0.7863 GB, free: 13.66 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.000964/0.000964, allocations: 99.61 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.336e-06/8.346e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2747, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/1.041, allocations: 153.6 MB / 1.362 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/1.041, allocations: 95.8 kB / 1.362 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.02033/1.061, allocations: 6.617 MB / 1.368 GB, free: 16.81 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.718e-05/1.061, allocations: 4.438 kB / 1.368 GB, free: 16.81 MB / 0.823 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.001059/1.062, allocations: 0.7431 MB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.062, allocations: 9.062 kB / 1.369 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/1.062, allocations: 40.34 kB / 1.369 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000436/1.063, allocations: 313.5 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/1.063, allocations: 7.797 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/1.063, allocations: 11.25 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003768/1.063, allocations: 195 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003857/1.064, allocations: 241.9 kB / 1.37 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.064, allocations: 3.984 kB / 1.37 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/1.064, allocations: 2.125 kB / 1.37 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/1.064, allocations: 7.156 kB / 1.37 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/1.065, allocations: 0.7043 MB / 1.37 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/1.065, allocations: 200 kB / 1.371 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002243/1.066, allocations: 157.8 kB / 1.371 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/1.066, allocations: 5.641 kB / 1.371 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.938e-05/1.066, allocations: 34.97 kB / 1.371 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/1.066, allocations: 4 kB / 1.371 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0006571/1.066, allocations: 339.6 kB / 1.371 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/1.067, allocations: 139.3 kB / 1.371 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003802/1.067, allocations: 308.3 kB / 1.371 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/1.067, allocations: 27.64 kB / 1.371 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/1.067, allocations: 135.6 kB / 1.372 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.147e-05/1.067, allocations: 43.03 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.73e-05/1.067, allocations: 2.25 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.067, allocations: 340.6 kB / 1.372 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/1.068, allocations: 200.5 kB / 1.372 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/1.068, allocations: 199.7 kB / 1.372 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/1.068, allocations: 200.4 kB / 1.373 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.068, allocations: 0 / 1.373 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007512/1.069, allocations: 482.9 kB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.069, allocations: 6.391 kB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.069, allocations: 0 / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/1.069, allocations: 2.078 kB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/1.069, allocations: 44.05 kB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/1.069, allocations: 1.219 kB / 1.373 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002655/1.07, allocations: 57.69 kB / 1.373 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.761e-05/1.07, allocations: 12.25 kB / 1.373 GB, free: 30.64 MB / 0.8386 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.0001449/1.07, allocations: 203.2 kB / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/1.07, allocations: 25.72 kB / 1.373 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.471e-05/1.07, allocations: 24.36 kB / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/1.07, allocations: 1.312 kB / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.07, allocations: 0.6562 kB / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/1.07, allocations: 5.484 kB / 1.373 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003905/1.07, allocations: 310.6 kB / 1.374 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/1.07, allocations: 0.7031 kB / 1.374 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001935/1.071, allocations: 41.19 kB / 1.374 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.726e-06/1.071, allocations: 5.031 kB / 1.374 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.536e-05/1.071, allocations: 4.078 kB / 1.374 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.071, allocations: 5.094 kB / 1.374 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.071, allocations: 0 / 1.374 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006049/1.071, allocations: 465.2 kB / 1.374 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.269e-05/1.071, allocations: 105.5 kB / 1.374 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.419e-05/1.071, allocations: 12.58 kB / 1.374 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/1.072, allocations: 41.48 kB / 1.374 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/1.072, allocations: 32.09 kB / 1.374 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/1.072, allocations: 12.03 kB / 1.374 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000278/1.072, allocations: 241.7 kB / 1.375 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006034/1.073, allocations: 119.1 kB / 1.375 GB, free: 29.86 MB / 0.8386 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.0005334/1.073, allocations: 277.6 kB / 1.375 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006495/1.074, allocations: 0.5326 MB / 1.376 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.074, allocations: 0 / 1.376 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/1.074, allocations: 262.9 kB / 1.376 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/1.075, allocations: 63.5 kB / 1.376 GB, free: 29.43 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.076, allocations: 0.4907 MB / 1.376 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004758/1.076, allocations: 0.8106 MB / 1.377 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of SimCode: time 4.81e-07/1.076, allocations: 0 / 1.377 GB, free: 28.59 MB / 0.8386 GB Notification: Performance of Templates: time 0.01262/1.089, allocations: 5.268 MB / 1.382 GB, free: 27.76 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches