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.1 MB / 399.7 MB, free: 9.504 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.001218/0.001218, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.552/1.552, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.000881/0.000881, allocations: 97.95 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.152e-05/4.208e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3417, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.706/6.048, allocations: 2.184 GB / 3.397 GB, free: 104 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/6.048, allocations: 97.44 kB / 3.397 GB, free: 104 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.76/10.81, allocations: 1.251 GB / 4.648 GB, free: 154.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.564e-06/10.81, allocations: 0 / 4.648 GB, free: 154.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005938/10.81, allocations: 88.55 kB / 4.648 GB, free: 154.3 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.0111/10.82, allocations: 3.622 MB / 4.652 GB, free: 151.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/10.82, allocations: 7.375 kB / 4.652 GB, free: 151.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/10.82, allocations: 0.5393 MB / 4.653 GB, free: 151.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008584/10.83, allocations: 3.403 MB / 4.656 GB, free: 149 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/10.83, allocations: 164.4 kB / 4.656 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006454/10.83, allocations: 225.9 kB / 4.656 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004833/10.84, allocations: 2.518 MB / 4.659 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.6e-05/10.84, allocations: 0 / 4.659 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/10.84, allocations: 93.52 kB / 4.659 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-05/10.84, allocations: 72.52 kB / 4.659 GB, free: 147.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/10.84, allocations: 1.93 MB / 4.661 GB, free: 146.5 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.01683/10.86, allocations: 10.5 MB / 4.671 GB, free: 138.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/10.86, allocations: 1.454 MB / 4.672 GB, free: 137.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/10.86, allocations: 0.989 MB / 4.673 GB, free: 136.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008882/10.86, allocations: 1.182 MB / 4.675 GB, free: 135 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/10.86, allocations: 51.56 kB / 4.675 GB, free: 134.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 4.388e-06/10.86, allocations: 0 / 4.675 GB, free: 134.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.01103/10.87, allocations: 5.325 MB / 4.68 GB, free: 129.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002138/10.87, allocations: 341.7 kB / 4.68 GB, free: 129.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0063/10.88, allocations: 3.057 MB / 4.683 GB, free: 126 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006113/10.88, allocations: 61.7 kB / 4.683 GB, free: 125.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/10.88, allocations: 1.472 MB / 4.685 GB, free: 124.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000508/10.88, allocations: 461.6 kB / 4.685 GB, free: 124 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.447e-05/10.88, allocations: 32 kB / 4.685 GB, free: 124 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001164/10.88, allocations: 368.5 kB / 4.685 GB, free: 123.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/10.88, allocations: 1.039 MB / 4.686 GB, free: 122.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/10.89, allocations: 1.475 MB / 4.688 GB, free: 121 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.006473/10.89, allocations: 4.189 MB / 4.692 GB, free: 116.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/10.89, allocations: 0 / 4.692 GB, free: 116.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004739/10.9, allocations: 3.267 MB / 4.695 GB, free: 113.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007479/10.9, allocations: 2.936 MB / 4.698 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/10.9, allocations: 17.86 kB / 4.698 GB, free: 110.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/10.9, allocations: 149.6 kB / 4.698 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000967/10.9, allocations: 265.9 kB / 4.698 GB, free: 109.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007814/10.9, allocations: 1.287 MB / 4.7 GB, free: 108.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/10.9, allocations: 212.3 kB / 4.7 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/10.9, allocations: 79.98 kB / 4.7 GB, free: 108.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/10.9, allocations: 6.312 kB / 4.7 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004038/10.91, allocations: 3.356 MB / 4.703 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/10.91, allocations: 4 kB / 4.703 GB, free: 104.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004291/10.91, allocations: 155.3 kB / 4.703 GB, free: 104.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009418/10.91, allocations: 262 kB / 4.704 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006935/10.91, allocations: 1.293 MB / 4.705 GB, free: 102.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/10.91, allocations: 210.1 kB / 4.705 GB, free: 102.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/10.91, allocations: 79.98 kB / 4.705 GB, free: 102.6 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.0005456/10.91, allocations: 387.6 kB / 4.706 GB, free: 102.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000782/10.91, allocations: 324 kB / 4.706 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004093/10.92, allocations: 2.472 MB / 4.708 GB, free: 99.39 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/10.92, allocations: 18.55 kB / 4.708 GB, free: 99.38 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/10.92, allocations: 1.75 kB / 4.708 GB, free: 99.38 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002419/10.92, allocations: 2.221 MB / 4.71 GB, free: 97.07 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009901/10.93, allocations: 5.913 MB / 4.716 GB, free: 91.04 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/10.93, allocations: 9.203 kB / 4.716 GB, free: 91.04 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/10.93, allocations: 260.9 kB / 4.716 GB, free: 90.78 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.749e-05/10.93, allocations: 12 kB / 4.716 GB, free: 90.77 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/10.93, allocations: 42.02 kB / 4.717 GB, free: 90.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/10.93, allocations: 15.94 kB / 4.717 GB, free: 90.71 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/10.93, allocations: 7.984 kB / 4.717 GB, free: 90.71 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004898/10.94, allocations: 4.568 MB / 4.721 GB, free: 85.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/10.94, allocations: 0.7116 MB / 4.722 GB, free: 85.16 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006151/10.94, allocations: 44 kB / 4.722 GB, free: 85.12 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/10.94, allocations: 171.7 kB / 4.722 GB, free: 84.96 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003356/10.94, allocations: 159.3 kB / 4.722 GB, free: 84.81 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001269/10.94, allocations: 67.55 kB / 4.722 GB, free: 84.75 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003991/10.95, allocations: 2.358 MB / 4.724 GB, free: 82.41 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.01e-07/10.95, allocations: 0 / 4.724 GB, free: 82.41 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00627/10.95, allocations: 1.502 MB / 4.726 GB, free: 80.91 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.004485/10.96, allocations: 2.883 MB / 4.729 GB, free: 78.45 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006331/10.96, allocations: 5.613 MB / 4.734 GB, free: 72.55 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/10.96, allocations: 1.344 kB / 4.734 GB, free: 72.55 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001955/10.97, allocations: 1.872 MB / 4.736 GB, free: 70.61 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008457/10.97, allocations: 1.588 MB / 4.738 GB, free: 69.17 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01003/10.98, allocations: 5.285 MB / 4.743 GB, free: 63.95 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/10.99, allocations: 2.158 MB / 4.745 GB, free: 61.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004624/10.99, allocations: 1.064 MB / 4.746 GB, free: 60.79 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/10.99, allocations: 155.4 kB / 4.746 GB, free: 60.64 MB / 1.167 GB Notification: Performance of SimCode: time 8.41e-07/10.99, allocations: 0 / 4.746 GB, free: 60.64 MB / 1.167 GB Notification: Performance of Templates: time 0.9306/11.92, allocations: 100.5 MB / 4.844 GB, free: 193.7 MB / 1.198 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