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.205/2.205, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001062/0.001062, allocations: 173.2 kB / 498.1 MB, free: 5.75 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.528/1.528, allocations: 223.2 MB / 0.7948 GB, free: 18.77 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.00126/0.00126, allocations: 107.9 kB / 0.9346 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003904, allocations: 14.72 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2837, allocations: 142.3 MB / 1.223 GB, free: 89.53 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.317/5.601, allocations: 2.185 GB / 3.407 GB, free: 204.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/5.601, allocations: 105.8 kB / 3.408 GB, free: 204.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 4.477/10.08, allocations: 1.254 GB / 4.662 GB, free: 149.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.308e-06/10.08, allocations: 6 kB / 4.662 GB, free: 149.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005003/10.08, allocations: 84.95 kB / 4.662 GB, free: 149.9 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.01279/10.09, allocations: 4.318 MB / 4.666 GB, free: 147.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/10.09, allocations: 11.16 kB / 4.666 GB, free: 147.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/10.09, allocations: 0.5303 MB / 4.667 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00845/10.1, allocations: 3.428 MB / 4.67 GB, free: 147 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/10.1, allocations: 165.8 kB / 4.67 GB, free: 147 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004804/10.1, allocations: 216.7 kB / 4.67 GB, free: 147 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004395/10.11, allocations: 2.59 MB / 4.673 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.771e-05/10.11, allocations: 9.859 kB / 4.673 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/10.11, allocations: 90.27 kB / 4.673 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/10.11, allocations: 71.39 kB / 4.673 GB, free: 146.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/10.11, allocations: 2.026 MB / 4.675 GB, free: 146.7 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01577/10.13, allocations: 10.5 MB / 4.685 GB, free: 143.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/10.13, allocations: 1.532 MB / 4.687 GB, free: 143.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008278/10.13, allocations: 1.177 MB / 4.688 GB, free: 142 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/10.13, allocations: 54.77 kB / 4.688 GB, free: 142 MB / 1.167 GB Notification: Performance of pre-optimization done (n=126): time 3.527e-06/10.13, allocations: 0 / 4.688 GB, free: 142 MB / 1.167 GB Notification: Performance of matching and sorting (n=134): time 0.01184/10.14, allocations: 6.796 MB / 4.695 GB, free: 139.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/10.14, allocations: 341.3 kB / 4.695 GB, free: 139.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/10.15, allocations: 3.091 MB / 4.698 GB, free: 139.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0005387/10.15, allocations: 63.98 kB / 4.698 GB, free: 139.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001157/10.15, allocations: 1.479 MB / 4.699 GB, free: 138.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005376/10.15, allocations: 448.2 kB / 4.7 GB, free: 138.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/10.15, allocations: 32.16 kB / 4.7 GB, free: 138.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001089/10.15, allocations: 367.5 kB / 4.7 GB, free: 138.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/10.15, allocations: 1.078 MB / 4.701 GB, free: 138.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001683/10.15, allocations: 1.519 MB / 4.703 GB, free: 137.9 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.006855/10.16, allocations: 4.289 MB / 4.707 GB, free: 137 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/10.16, allocations: 0 / 4.707 GB, free: 137 MB / 1.167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.004816/10.17, allocations: 3.321 MB / 4.71 GB, free: 136.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007526/10.17, allocations: 2.935 MB / 4.713 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/10.17, allocations: 10.5 kB / 4.713 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005964/10.17, allocations: 157 kB / 4.713 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/10.17, allocations: 261.8 kB / 4.713 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007895/10.17, allocations: 1.289 MB / 4.715 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/10.17, allocations: 207.9 kB / 4.715 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002654/10.17, allocations: 80.05 kB / 4.715 GB, free: 132.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/10.17, allocations: 5.625 kB / 4.715 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004113/10.18, allocations: 3.415 MB / 4.718 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/10.18, allocations: 7.75 kB / 4.718 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004148/10.18, allocations: 150.7 kB / 4.718 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009445/10.18, allocations: 263.1 kB / 4.719 GB, free: 131.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000684/10.18, allocations: 1.293 MB / 4.72 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/10.18, allocations: 201.1 kB / 4.72 GB, free: 130.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002249/10.18, allocations: 84.3 kB / 4.72 GB, free: 130.7 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 () * Number of clocked 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.002314/10.18, allocations: 1.118 MB / 4.721 GB, free: 130.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009365/10.18, allocations: 324 kB / 4.722 GB, free: 130.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00385/10.19, allocations: 2.552 MB / 4.724 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/10.19, allocations: 21.56 kB / 4.724 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/10.19, allocations: 0 / 4.724 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002428/10.19, allocations: 2.296 MB / 4.726 GB, free: 129.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/10.2, allocations: 5.984 MB / 4.732 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/10.2, allocations: 6.562 kB / 4.732 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/10.2, allocations: 265.4 kB / 4.732 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.433e-05/10.2, allocations: 14.41 kB / 4.732 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/10.2, allocations: 44.02 kB / 4.733 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.398e-05/10.2, allocations: 16.16 kB / 4.733 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/10.2, allocations: 7.312 kB / 4.733 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/10.21, allocations: 4.686 MB / 4.737 GB, free: 127.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002869/10.21, allocations: 0.7183 MB / 4.738 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0013/10.21, allocations: 45 kB / 4.738 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/10.22, allocations: 167.2 kB / 4.738 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003787/10.22, allocations: 163.3 kB / 4.738 GB, free: 126.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001927/10.22, allocations: 56.06 kB / 4.738 GB, free: 126.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006694/10.22, allocations: 2.401 MB / 4.741 GB, free: 126.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 8.32e-07/10.22, allocations: 2.875 kB / 4.741 GB, free: 126.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008774/10.23, allocations: 1.504 MB / 4.742 GB, free: 126.7 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.conCoo.hex.vol.dynBal.U,beaCooHea.conHea.hex.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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.005395/10.24, allocations: 2.877 MB / 4.745 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007447/10.25, allocations: 5.607 MB / 4.75 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/10.25, allocations: 3.125 kB / 4.75 GB, free: 122.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002415/10.25, allocations: 1.906 MB / 4.752 GB, free: 121.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008533/10.26, allocations: 1.602 MB / 4.754 GB, free: 121.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01492/10.27, allocations: 7.38 MB / 4.761 GB, free: 117.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003071/10.28, allocations: 2.146 MB / 4.763 GB, free: 116.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00396/10.28, allocations: 0.6483 MB / 4.764 GB, free: 116.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009642/10.28, allocations: 211.5 kB / 4.764 GB, free: 116.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.032e-06/10.28, allocations: 3.281 kB / 4.764 GB, free: 116.8 MB / 1.167 GB Notification: Performance of Templates: time 0.1331/10.41, allocations: 89.74 MB / 4.852 GB, free: 69.21 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