Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.335/1.335, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 187.3 kB / 326.5 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 0.5775 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009706/0.0009707, allocations: 97.84 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002887, allocations: 8.656 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1622, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.826/4.988, allocations: 2.461 GB / 3.361 GB, free: 47.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/4.988, allocations: 107.4 kB / 3.361 GB, free: 47.24 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.517/9.506, allocations: 1.208 GB / 4.57 GB, free: 91.63 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.464e-06/9.506, allocations: 2.656 kB / 4.57 GB, free: 91.63 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0006342/9.506, allocations: 93.33 kB / 4.57 GB, free: 91.61 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.01312/9.519, allocations: 4.319 MB / 4.574 GB, free: 89.41 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/9.52, allocations: 10.72 kB / 4.574 GB, free: 89.41 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/9.523, allocations: 0.5316 MB / 4.574 GB, free: 89.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009776/9.533, allocations: 3.413 MB / 4.578 GB, free: 88.59 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/9.533, allocations: 166.8 kB / 4.578 GB, free: 88.58 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009595/9.534, allocations: 228.6 kB / 4.578 GB, free: 88.57 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007131/9.541, allocations: 2.583 MB / 4.581 GB, free: 88.28 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/9.541, allocations: 6.938 kB / 4.581 GB, free: 88.28 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005716/9.542, allocations: 90.27 kB / 4.581 GB, free: 88.28 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.972e-05/9.542, allocations: 70.06 kB / 4.581 GB, free: 88.28 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00448/9.547, allocations: 2.024 MB / 4.583 GB, free: 88.26 MB / 0.9011 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.01902/9.566, allocations: 10.5 MB / 4.593 GB, free: 84.86 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/9.568, allocations: 1.536 MB / 4.595 GB, free: 84.82 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008532/9.569, allocations: 1.182 MB / 4.596 GB, free: 83.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/9.569, allocations: 47.97 kB / 4.596 GB, free: 83.46 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=126): time 5.46e-06/9.569, allocations: 0 / 4.596 GB, free: 83.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=134): time 0.012/9.581, allocations: 6.791 MB / 4.602 GB, free: 81.36 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/9.581, allocations: 339.4 kB / 4.603 GB, free: 80.98 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006683/9.588, allocations: 3.091 MB / 4.606 GB, free: 80.75 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0003415/9.588, allocations: 56.92 kB / 4.606 GB, free: 80.72 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001652/9.59, allocations: 1.479 MB / 4.607 GB, free: 80.35 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/9.59, allocations: 466.2 kB / 4.608 GB, free: 80.06 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/9.591, allocations: 30.34 kB / 4.608 GB, free: 80.06 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001325/9.591, allocations: 362.4 kB / 4.608 GB, free: 79.76 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/9.592, allocations: 1.078 MB / 4.609 GB, free: 79.75 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/9.594, allocations: 1.519 MB / 4.611 GB, free: 79.34 MB / 0.9011 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.007008/9.601, allocations: 4.259 MB / 4.615 GB, free: 78.45 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/9.601, allocations: 3.688 kB / 4.615 GB, free: 78.45 MB / 0.9011 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005168/9.606, allocations: 3.323 MB / 4.618 GB, free: 77.82 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006965/9.607, allocations: 2.936 MB / 4.621 GB, free: 74.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/9.607, allocations: 7.609 kB / 4.621 GB, free: 74.77 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/9.608, allocations: 149.2 kB / 4.621 GB, free: 74.75 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/9.609, allocations: 265.6 kB / 4.621 GB, free: 74.75 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008459/9.609, allocations: 1.294 MB / 4.622 GB, free: 73.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/9.613, allocations: 197.4 kB / 4.623 GB, free: 73.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002818/9.613, allocations: 87.52 kB / 4.623 GB, free: 73.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/9.613, allocations: 3.75 kB / 4.623 GB, free: 73.7 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004359/9.617, allocations: 3.408 MB / 4.626 GB, free: 73.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.609e-05/9.617, allocations: 7.031 kB / 4.626 GB, free: 73.27 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004224/9.618, allocations: 153.1 kB / 4.626 GB, free: 73.25 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/9.619, allocations: 256.5 kB / 4.626 GB, free: 73.25 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007555/9.62, allocations: 1.296 MB / 4.628 GB, free: 72.21 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/9.623, allocations: 195.4 kB / 4.628 GB, free: 72.2 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/9.623, allocations: 80.17 kB / 4.628 GB, free: 72.2 MB / 0.9011 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.002379/9.625, allocations: 1.114 MB / 4.629 GB, free: 71.82 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/9.626, allocations: 326.2 kB / 4.629 GB, free: 71.66 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/9.631, allocations: 2.551 MB / 4.632 GB, free: 71.35 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/9.631, allocations: 18.38 kB / 4.632 GB, free: 71.35 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/9.631, allocations: 0 / 4.632 GB, free: 71.35 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002724/9.633, allocations: 2.291 MB / 4.634 GB, free: 70.88 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/9.646, allocations: 5.99 MB / 4.64 GB, free: 70.12 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.65e-05/9.646, allocations: 3.625 kB / 4.64 GB, free: 70.12 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/9.647, allocations: 260.4 kB / 4.64 GB, free: 70.12 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.954e-05/9.647, allocations: 10.47 kB / 4.64 GB, free: 70.12 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/9.647, allocations: 44.17 kB / 4.64 GB, free: 70.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.882e-05/9.647, allocations: 16.47 kB / 4.64 GB, free: 70.12 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/9.647, allocations: 8.938 kB / 4.64 GB, free: 70.12 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/9.654, allocations: 4.701 MB / 4.645 GB, free: 67.88 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/9.657, allocations: 0.7099 MB / 4.646 GB, free: 67.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/9.658, allocations: 47.77 kB / 4.646 GB, free: 67.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002567/9.661, allocations: 173.8 kB / 4.646 GB, free: 67.33 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003584/9.661, allocations: 156.2 kB / 4.646 GB, free: 67.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/9.661, allocations: 60.67 kB / 4.646 GB, free: 67.29 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.005551/9.667, allocations: 2.399 MB / 4.648 GB, free: 66.34 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.222e-06/9.667, allocations: 1.719 kB / 4.648 GB, free: 66.34 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007808/9.675, allocations: 1.522 MB / 4.65 GB, free: 66.06 MB / 0.9011 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.U,vol.dynBal.mXi[1],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.005263/9.68, allocations: 2.858 MB / 4.653 GB, free: 65.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.007605/9.688, allocations: 5.607 MB / 4.658 GB, free: 61.92 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.53e-05/9.688, allocations: 3.688 kB / 4.658 GB, free: 61.92 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/9.69, allocations: 1.904 MB / 4.66 GB, free: 60.91 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008558/9.699, allocations: 1.615 MB / 4.662 GB, free: 60.63 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/9.713, allocations: 7.386 MB / 4.669 GB, free: 56.84 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003137/9.717, allocations: 2.156 MB / 4.671 GB, free: 55.92 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.004124/9.721, allocations: 0.6454 MB / 4.672 GB, free: 55.88 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/9.722, allocations: 214.8 kB / 4.672 GB, free: 55.87 MB / 0.9011 GB Notification: Performance of SimCode: time 9.61e-07/9.722, allocations: 2.5 kB / 4.672 GB, free: 55.87 MB / 0.9011 GB Notification: Performance of Templates: time 0.1338/9.856, allocations: 90.25 MB / 4.76 GB, free: 7.922 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches