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.504/1.504, allocations: 249.5 MB / 257 MB, free: 6.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 183.5 kB / 316.3 MB, free: 3.227 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.649/1.649, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.001004/0.001004, allocations: 98.16 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.966e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2752, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.809/7.084, allocations: 2.461 GB / 3.346 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/7.084, allocations: 98.94 kB / 3.347 GB, free: 228.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.008/11.09, allocations: 1.197 GB / 4.543 GB, free: 16.27 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.683e-06/11.09, allocations: 0 / 4.543 GB, free: 16.27 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003775/11.09, allocations: 80.45 kB / 4.543 GB, free: 16.19 MB / 0.8855 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.008076/11.1, allocations: 3.64 MB / 4.547 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/11.1, allocations: 8.031 kB / 4.547 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002638/11.1, allocations: 0.5393 MB / 4.547 GB, free: 11.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/11.11, allocations: 3.404 MB / 4.55 GB, free: 8.488 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/11.11, allocations: 64 kB / 4.551 GB, free: 8.426 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002771/11.11, allocations: 136 kB / 4.551 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002817/11.11, allocations: 1.804 MB / 4.552 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003112/11.12, allocations: 2.233 MB / 4.555 GB, free: 4.141 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.723e-05/11.12, allocations: 7.469 kB / 4.555 GB, free: 4.137 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/11.12, allocations: 8 kB / 4.555 GB, free: 4.129 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/11.12, allocations: 79.84 kB / 4.555 GB, free: 4.055 MB / 0.8855 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.01527/11.13, allocations: 10.04 MB / 4.565 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/11.13, allocations: 1.406 MB / 4.566 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/11.13, allocations: 0.9525 MB / 4.567 GB, free: 7.375 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/11.14, allocations: 1.183 MB / 4.568 GB, free: 5.938 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/11.14, allocations: 51.86 kB / 4.568 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=126): time 4.389e-06/11.14, allocations: 0 / 4.568 GB, free: 5.875 MB / 0.9011 GB Notification: Performance of matching and sorting (n=134): time 0.0103/11.15, allocations: 4.637 MB / 4.573 GB, free: 1.191 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002168/11.15, allocations: 341.7 kB / 4.573 GB, free: 0.7812 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004793/11.15, allocations: 2.628 MB / 4.575 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003324/11.15, allocations: 33.7 kB / 4.575 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001424/11.15, allocations: 1.489 MB / 4.577 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005352/11.15, allocations: 445.3 kB / 4.577 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.74e-05/11.15, allocations: 4 kB / 4.577 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001881/11.15, allocations: 365.9 kB / 4.578 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/11.16, allocations: 1.011 MB / 4.579 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/11.16, allocations: 1.436 MB / 4.58 GB, free: 9.188 MB / 0.9167 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.006819/11.16, allocations: 3.708 MB / 4.584 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/11.16, allocations: 0 / 4.584 GB, free: 5.395 MB / 0.9167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.005181/11.17, allocations: 2.788 MB / 4.586 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.6421/11.81, allocations: 2.891 MB / 4.589 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.233e-05/11.81, allocations: 6.344 kB / 4.589 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000614/11.81, allocations: 137.9 kB / 4.589 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/11.81, allocations: 264.4 kB / 4.59 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000858/11.81, allocations: 1.304 MB / 4.591 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/11.82, allocations: 177.6 kB / 4.591 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/11.82, allocations: 81.72 kB / 4.591 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/11.82, allocations: 5.188 kB / 4.591 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0051/11.82, allocations: 2.706 MB / 4.594 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/11.82, allocations: 8.453 kB / 4.594 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000372/11.82, allocations: 134.8 kB / 4.594 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/11.82, allocations: 264.6 kB / 4.594 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008533/11.82, allocations: 1.303 MB / 4.595 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/11.83, allocations: 171.9 kB / 4.596 GB, free: 102.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/11.83, allocations: 82.2 kB / 4.596 GB, free: 102.5 MB / 0.9167 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.0006473/11.83, allocations: 336.5 kB / 4.596 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000838/11.83, allocations: 303.4 kB / 4.596 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004938/11.83, allocations: 2.154 MB / 4.598 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.298e-05/11.83, allocations: 14.47 kB / 4.598 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/11.83, allocations: 2.875 kB / 4.598 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003648/11.84, allocations: 1.957 MB / 4.6 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01064/11.85, allocations: 5.361 MB / 4.606 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/11.85, allocations: 4.125 kB / 4.606 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/11.85, allocations: 260.8 kB / 4.606 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.757e-05/11.85, allocations: 11.22 kB / 4.606 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/11.85, allocations: 24.78 kB / 4.606 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.509e-05/11.85, allocations: 13.83 kB / 4.606 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/11.85, allocations: 8.094 kB / 4.606 GB, free: 101.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005693/11.86, allocations: 4.173 MB / 4.61 GB, free: 100.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001881/11.86, allocations: 0.6793 MB / 4.611 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/11.86, allocations: 22.42 kB / 4.611 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/11.86, allocations: 146.6 kB / 4.611 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003444/11.86, allocations: 162.7 kB / 4.611 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001335/11.86, allocations: 59.83 kB / 4.611 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003689/11.86, allocations: 1.988 MB / 4.613 GB, free: 99.97 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.5e-07/11.86, allocations: 0 / 4.613 GB, free: 99.97 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005428/11.87, allocations: 1.384 MB / 4.614 GB, free: 99.97 MB / 0.9167 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.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.004637/11.87, allocations: 2.938 MB / 4.617 GB, free: 99.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006793/11.88, allocations: 5.448 MB / 4.623 GB, free: 97.56 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/11.88, allocations: 5.859 kB / 4.623 GB, free: 97.56 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002323/11.88, allocations: 1.833 MB / 4.624 GB, free: 97.18 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008105/11.89, allocations: 1.407 MB / 4.626 GB, free: 97.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/11.9, allocations: 5.155 MB / 4.631 GB, free: 95.94 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/11.91, allocations: 2.16 MB / 4.633 GB, free: 95.19 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004603/11.91, allocations: 0.9868 MB / 4.634 GB, free: 95.16 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/11.91, allocations: 147.7 kB / 4.634 GB, free: 95.16 MB / 0.9167 GB Notification: Performance of SimCode: time 2.385e-06/11.91, allocations: 0 / 4.634 GB, free: 95.16 MB / 0.9167 GB Notification: Performance of Templates: time 0.1077/12.02, allocations: 72.91 MB / 4.705 GB, free: 90.69 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