Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.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.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCooHea.heaToRoo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") [: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.136/2.136, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001381/0.001381, allocations: 177.3 kB / 487 MB, free: 5.355 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.47/1.47, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.001035/0.001035, allocations: 106.3 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.514e-06/7.925e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3047, allocations: 142.3 MB / 1.205 GB, free: 26.25 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.503/4.808, allocations: 2.184 GB / 3.389 GB, free: 116.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/4.809, allocations: 102.2 kB / 3.389 GB, free: 116.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.143/8.951, allocations: 1.252 GB / 4.641 GB, free: 163.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004841/8.952, allocations: 85.19 kB / 4.641 GB, free: 163.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01071/8.963, allocations: 3.644 MB / 4.645 GB, free: 161.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/8.963, allocations: 9.25 kB / 4.645 GB, free: 161.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003751/8.967, allocations: 0.5457 MB / 4.645 GB, free: 161 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009188/8.976, allocations: 3.458 MB / 4.649 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/8.976, allocations: 67.88 kB / 4.649 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/8.976, allocations: 136.3 kB / 4.649 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003339/8.98, allocations: 1.84 MB / 4.651 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00348/8.983, allocations: 2.255 MB / 4.653 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/8.983, allocations: 3.906 kB / 4.653 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/8.983, allocations: 11.05 kB / 4.653 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/8.983, allocations: 74.86 kB / 4.653 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01723/9.001, allocations: 11.01 MB / 4.664 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/9.002, allocations: 1.12 MB / 4.665 GB, free: 147.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/9.004, allocations: 0.9658 MB / 4.666 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000915/9.005, allocations: 1.178 MB / 4.667 GB, free: 145.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/9.005, allocations: 56.09 kB / 4.667 GB, free: 145.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 4.117e-06/9.005, allocations: 0 / 4.667 GB, free: 145.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.01162/9.016, allocations: 4.694 MB / 4.672 GB, free: 142.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001422/9.017, allocations: 344.2 kB / 4.672 GB, free: 142.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005339/9.022, allocations: 2.655 MB / 4.675 GB, free: 141 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003794/9.022, allocations: 41.56 kB / 4.675 GB, free: 141 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006887/9.023, allocations: 0.8903 MB / 4.675 GB, free: 140.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005642/9.024, allocations: 441.7 kB / 4.676 GB, free: 139.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.514e-05/9.024, allocations: 7.875 kB / 4.676 GB, free: 139.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001072/9.024, allocations: 364.6 kB / 4.676 GB, free: 139.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001655/9.025, allocations: 1.032 MB / 4.677 GB, free: 139 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/9.027, allocations: 1.458 MB / 4.679 GB, free: 138 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.007921/9.035, allocations: 3.813 MB / 4.682 GB, free: 134.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/9.035, allocations: 1.75 kB / 4.682 GB, free: 134.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005327/9.041, allocations: 2.806 MB / 4.685 GB, free: 132.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005735/9.041, allocations: 2.507 MB / 4.688 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/9.041, allocations: 8 kB / 4.688 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004072/9.042, allocations: 151.6 kB / 4.688 GB, free: 129.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/9.043, allocations: 267 kB / 4.688 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009022/9.044, allocations: 1.311 MB / 4.689 GB, free: 127.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/9.047, allocations: 180.5 kB / 4.689 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001871/9.047, allocations: 79.94 kB / 4.689 GB, free: 127.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/9.047, allocations: 4 kB / 4.689 GB, free: 127.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003543/9.051, allocations: 2.474 MB / 4.692 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/9.051, allocations: 7.938 kB / 4.692 GB, free: 124.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003345/9.051, allocations: 141.5 kB / 4.692 GB, free: 124.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009808/9.052, allocations: 266.5 kB / 4.692 GB, free: 124.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007977/9.053, allocations: 1.316 MB / 4.694 GB, free: 123.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003225/9.056, allocations: 179 kB / 4.694 GB, free: 122.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/9.056, allocations: 79.77 kB / 4.694 GB, free: 122.9 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0005823/9.057, allocations: 331 kB / 4.694 GB, free: 122.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006642/9.057, allocations: 298.8 kB / 4.694 GB, free: 122.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003942/9.061, allocations: 2.206 MB / 4.697 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/9.061, allocations: 16 kB / 4.697 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/9.061, allocations: 0 / 4.697 GB, free: 120 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002364/9.064, allocations: 1.982 MB / 4.699 GB, free: 118 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009768/9.074, allocations: 5.424 MB / 4.704 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/9.074, allocations: 8 kB / 4.704 GB, free: 112.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00116/9.075, allocations: 258.6 kB / 4.704 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.5e-05/9.075, allocations: 8 kB / 4.704 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.481e-05/9.075, allocations: 27.98 kB / 4.704 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/9.075, allocations: 11.94 kB / 4.704 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/9.075, allocations: 8 kB / 4.704 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005397/9.08, allocations: 4.23 MB / 4.708 GB, free: 107.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/9.083, allocations: 0.6885 MB / 4.709 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005419/9.083, allocations: 16 kB / 4.709 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/9.085, allocations: 153 kB / 4.709 GB, free: 106.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/9.086, allocations: 143.3 kB / 4.709 GB, free: 106.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/9.086, allocations: 59.97 kB / 4.709 GB, free: 106.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.003304/9.089, allocations: 2.012 MB / 4.711 GB, free: 104.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004888/9.094, allocations: 1.358 MB / 4.713 GB, free: 103.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (conHea.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,conCoo.I.y,beaCooHea.watCoo_a.h_outflow,beaCooHea.watHea_a.h_outflow) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * 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.004844/9.099, allocations: 2.956 MB / 4.715 GB, free: 100.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006629/9.105, allocations: 4.273 MB / 4.72 GB, free: 96.31 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.042e-05/9.105, allocations: 4 kB / 4.72 GB, free: 96.31 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/9.108, allocations: 1.722 MB / 4.721 GB, free: 94.55 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009139/9.117, allocations: 1.333 MB / 4.723 GB, free: 93.34 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01708/9.134, allocations: 5.288 MB / 4.728 GB, free: 88.12 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004418/9.139, allocations: 2.362 MB / 4.73 GB, free: 85.77 MB / 1.167 GB Notification: Performance of SimCode: time 1.343e-06/9.139, allocations: 2.5 kB / 4.73 GB, free: 85.77 MB / 1.167 GB Notification: Performance of Templates: time 0.1231/9.262, allocations: 76.97 MB / 4.805 GB, free: 11.12 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches