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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.251/2.251, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001046/0.001046, allocations: 188.8 kB / 487.4 MB, free: 5.023 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.692/1.692, allocations: 221.5 MB / 0.7824 GB, free: 0.918 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.0008818/0.0008818, allocations: 95.91 kB / 0.9219 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.865e-05/1.867e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3032, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.788/6.091, allocations: 2.184 GB / 3.39 GB, free: 140.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/6.092, allocations: 95.94 kB / 3.39 GB, free: 140.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.666/10.76, allocations: 1.242 GB / 4.632 GB, free: 175.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.693e-06/10.76, allocations: 0 / 4.632 GB, free: 175.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006379/10.76, allocations: 79.34 kB / 4.632 GB, free: 175.6 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.01136/10.77, allocations: 3.628 MB / 4.636 GB, free: 173.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/10.77, allocations: 13.58 kB / 4.636 GB, free: 173.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00377/10.77, allocations: 0.5291 MB / 4.636 GB, free: 173.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/10.78, allocations: 3.411 MB / 4.64 GB, free: 172.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/10.78, allocations: 67.28 kB / 4.64 GB, free: 172.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/10.78, allocations: 133.4 kB / 4.64 GB, free: 172.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00501/10.79, allocations: 1.816 MB / 4.642 GB, free: 171.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006502/10.8, allocations: 2.224 MB / 4.644 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.811e-05/10.8, allocations: 3.969 kB / 4.644 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005782/10.8, allocations: 10.52 kB / 4.644 GB, free: 170.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001038/10.8, allocations: 80.42 kB / 4.644 GB, free: 170.8 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/10.82, allocations: 10.05 MB / 4.654 GB, free: 164.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/10.82, allocations: 1.405 MB / 4.655 GB, free: 164.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/10.82, allocations: 0.9482 MB / 4.656 GB, free: 163.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009436/10.82, allocations: 1.178 MB / 4.657 GB, free: 162.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.152e-05/10.82, allocations: 54.48 kB / 4.657 GB, free: 162.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 4.258e-06/10.82, allocations: 0 / 4.657 GB, free: 162.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.01199/10.83, allocations: 4.653 MB / 4.662 GB, free: 160.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/10.83, allocations: 340.6 kB / 4.662 GB, free: 159.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006608/10.84, allocations: 2.624 MB / 4.665 GB, free: 158.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006004/10.84, allocations: 30.83 kB / 4.665 GB, free: 158.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001801/10.84, allocations: 1.486 MB / 4.666 GB, free: 157.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008321/10.84, allocations: 440.1 kB / 4.667 GB, free: 157.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/10.84, allocations: 3.844 kB / 4.667 GB, free: 157.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001764/10.84, allocations: 367.1 kB / 4.667 GB, free: 156.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001648/10.85, allocations: 1.015 MB / 4.668 GB, free: 156.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001938/10.85, allocations: 1.429 MB / 4.669 GB, free: 155.4 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.008077/10.86, allocations: 3.738 MB / 4.673 GB, free: 153.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/10.86, allocations: 0 / 4.673 GB, free: 153.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.006929/10.86, allocations: 2.785 MB / 4.676 GB, free: 152.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009762/10.86, allocations: 2.892 MB / 4.679 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/10.86, allocations: 11.7 kB / 4.679 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000464/10.87, allocations: 141.2 kB / 4.679 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/10.87, allocations: 263.3 kB / 4.679 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009696/10.87, allocations: 1.301 MB / 4.68 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/10.87, allocations: 181.7 kB / 4.68 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004099/10.87, allocations: 83.41 kB / 4.68 GB, free: 148.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/10.87, allocations: 3.969 kB / 4.68 GB, free: 148.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004812/10.88, allocations: 2.701 MB / 4.683 GB, free: 147.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/10.88, allocations: 9.312 kB / 4.683 GB, free: 147.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003648/10.88, allocations: 138.1 kB / 4.683 GB, free: 147.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/10.88, allocations: 270.7 kB / 4.683 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008593/10.88, allocations: 1.302 MB / 4.685 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00307/10.88, allocations: 171.1 kB / 4.685 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003681/10.88, allocations: 91.08 kB / 4.685 GB, free: 145.9 MB / 1.167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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.0007925/10.88, allocations: 332.7 kB / 4.685 GB, free: 145.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/10.88, allocations: 301 kB / 4.686 GB, free: 145.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004521/10.89, allocations: 2.17 MB / 4.688 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/10.89, allocations: 14.97 kB / 4.688 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/10.89, allocations: 0 / 4.688 GB, free: 144.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002668/10.89, allocations: 1.96 MB / 4.69 GB, free: 143.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/10.9, allocations: 5.368 MB / 4.695 GB, free: 140.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/10.9, allocations: 7.812 kB / 4.695 GB, free: 140.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/10.9, allocations: 258.6 kB / 4.695 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.911e-05/10.9, allocations: 14.31 kB / 4.695 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001635/10.9, allocations: 25.2 kB / 4.695 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/10.9, allocations: 11.19 kB / 4.695 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/10.9, allocations: 17.23 kB / 4.695 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005631/10.91, allocations: 4.152 MB / 4.699 GB, free: 138.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0022/10.91, allocations: 0.6801 MB / 4.7 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/10.91, allocations: 21.83 kB / 4.7 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/10.92, allocations: 146.1 kB / 4.7 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003566/10.92, allocations: 156.8 kB / 4.7 GB, free: 137.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/10.92, allocations: 63.86 kB / 4.7 GB, free: 137.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00498/10.92, allocations: 1.979 MB / 4.702 GB, free: 136.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 6.21e-07/10.92, allocations: 6 kB / 4.702 GB, free: 136.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008002/10.93, allocations: 1.378 MB / 4.704 GB, free: 134.8 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.00551/10.93, allocations: 2.935 MB / 4.706 GB, free: 132.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007437/10.94, allocations: 5.458 MB / 4.712 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/10.94, allocations: 2 kB / 4.712 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/10.94, allocations: 1.831 MB / 4.714 GB, free: 124.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008152/10.95, allocations: 1.392 MB / 4.715 GB, free: 123.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/10.97, allocations: 5.148 MB / 4.72 GB, free: 118.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003763/10.97, allocations: 2.159 MB / 4.722 GB, free: 116.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.006074/10.98, allocations: 0.9834 MB / 4.723 GB, free: 115.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/10.98, allocations: 147.4 kB / 4.723 GB, free: 115.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.463e-06/10.98, allocations: 0 / 4.723 GB, free: 115.1 MB / 1.167 GB Notification: Performance of Templates: time 0.1145/11.09, allocations: 72.45 MB / 4.794 GB, free: 44.38 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