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.5/1.5, allocations: 249.3 MB / 261.8 MB, free: 5.898 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.001073/0.001073, allocations: 176.9 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009268/0.0009263, allocations: 82.55 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.913e-05, allocations: 7.984 kB / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2409, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.746/6.987, allocations: 2.461 GB / 3.353 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/6.987, allocations: 99.19 kB / 3.353 GB, free: 205.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.239/11.23, allocations: 1.206 GB / 4.558 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.983e-06/11.23, allocations: 0 / 4.558 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003665/11.23, allocations: 83.92 kB / 4.558 GB, free: 9.375 MB / 0.9167 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.00862/11.23, allocations: 3.637 MB / 4.562 GB, free: 5.586 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/11.24, allocations: 12.03 kB / 4.562 GB, free: 5.574 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/11.24, allocations: 0.5334 MB / 4.562 GB, free: 5.039 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008224/11.25, allocations: 3.392 MB / 4.566 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000192/11.25, allocations: 168 kB / 4.566 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006964/11.25, allocations: 224 kB / 4.566 GB, free: 1.195 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5967/11.84, allocations: 2.517 MB / 4.569 GB, free: 96.94 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.341e-05/11.84, allocations: 3.922 kB / 4.569 GB, free: 96.94 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002513/11.84, allocations: 89.42 kB / 4.569 GB, free: 96.94 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.506e-05/11.84, allocations: 73.86 kB / 4.569 GB, free: 96.93 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004012/11.85, allocations: 1.924 MB / 4.571 GB, free: 96.92 MB / 0.9167 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.01603/11.86, allocations: 10.49 MB / 4.581 GB, free: 93.75 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/11.87, allocations: 1.462 MB / 4.582 GB, free: 93.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/11.87, allocations: 0.9846 MB / 4.583 GB, free: 93.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000808/11.87, allocations: 1.181 MB / 4.584 GB, free: 92.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/11.87, allocations: 50.72 kB / 4.584 GB, free: 92.35 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=126): time 4.158e-06/11.87, allocations: 0 / 4.584 GB, free: 92.35 MB / 0.9167 GB Notification: Performance of matching and sorting (n=134): time 0.009344/11.88, allocations: 5.314 MB / 4.59 GB, free: 90.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/11.88, allocations: 346.7 kB / 4.59 GB, free: 90.52 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005746/11.88, allocations: 3.057 MB / 4.593 GB, free: 90.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004435/11.88, allocations: 61.05 kB / 4.593 GB, free: 90.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001336/11.89, allocations: 1.475 MB / 4.594 GB, free: 89.96 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/11.89, allocations: 460.7 kB / 4.595 GB, free: 89.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.63e-05/11.89, allocations: 31.62 kB / 4.595 GB, free: 89.73 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001218/11.89, allocations: 364.8 kB / 4.595 GB, free: 89.43 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/11.89, allocations: 1.038 MB / 4.596 GB, free: 89.43 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002076/11.89, allocations: 1.479 MB / 4.598 GB, free: 89.01 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.008009/11.9, allocations: 4.172 MB / 4.602 GB, free: 88.11 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/11.9, allocations: 2.75 kB / 4.602 GB, free: 88.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00586/11.9, allocations: 3.259 MB / 4.605 GB, free: 87.49 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007759/11.91, allocations: 2.938 MB / 4.608 GB, free: 84.45 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/11.91, allocations: 6.469 kB / 4.608 GB, free: 84.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/11.91, allocations: 158.8 kB / 4.608 GB, free: 84.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/11.91, allocations: 268 kB / 4.608 GB, free: 84.43 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00083/11.91, allocations: 1.283 MB / 4.61 GB, free: 83.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/11.91, allocations: 215.9 kB / 4.61 GB, free: 83.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002135/11.91, allocations: 84.27 kB / 4.61 GB, free: 83.38 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/11.91, allocations: 3.938 kB / 4.61 GB, free: 83.38 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004736/11.92, allocations: 3.344 MB / 4.613 GB, free: 82.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/11.92, allocations: 5.875 kB / 4.613 GB, free: 82.95 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/11.92, allocations: 155.1 kB / 4.613 GB, free: 82.93 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/11.92, allocations: 263.7 kB / 4.614 GB, free: 82.93 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006898/11.92, allocations: 1.286 MB / 4.615 GB, free: 81.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003133/11.92, allocations: 208.8 kB / 4.615 GB, free: 81.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/11.92, allocations: 85.97 kB / 4.615 GB, free: 81.89 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.0005843/11.92, allocations: 395.1 kB / 4.615 GB, free: 81.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006279/11.92, allocations: 326.8 kB / 4.616 GB, free: 81.42 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003932/11.93, allocations: 2.47 MB / 4.618 GB, free: 81.13 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/11.93, allocations: 11.69 kB / 4.618 GB, free: 81.13 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/11.93, allocations: 0.6562 kB / 4.618 GB, free: 81.13 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002726/11.93, allocations: 2.219 MB / 4.62 GB, free: 80.66 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009513/11.94, allocations: 5.903 MB / 4.626 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/11.94, allocations: 3.938 kB / 4.626 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/11.94, allocations: 267 kB / 4.626 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/11.94, allocations: 11.25 kB / 4.626 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/11.94, allocations: 41.06 kB / 4.626 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/11.94, allocations: 10.78 kB / 4.626 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.039e-05/11.94, allocations: 17.5 kB / 4.626 GB, free: 79.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/11.95, allocations: 4.574 MB / 4.631 GB, free: 78.45 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/11.95, allocations: 0.7197 MB / 4.632 GB, free: 78.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006993/11.95, allocations: 43.14 kB / 4.632 GB, free: 78.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001789/11.95, allocations: 166.1 kB / 4.632 GB, free: 78.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003841/11.95, allocations: 165.4 kB / 4.632 GB, free: 78.18 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001901/11.95, allocations: 57.44 kB / 4.632 GB, free: 78.18 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004123/11.96, allocations: 2.365 MB / 4.634 GB, free: 78.02 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.4e-07/11.96, allocations: 0 / 4.634 GB, free: 78.02 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004889/11.96, allocations: 1.503 MB / 4.636 GB, free: 78.02 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.004149/11.96, allocations: 2.876 MB / 4.639 GB, free: 77.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006357/11.97, allocations: 5.604 MB / 4.644 GB, free: 75.54 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/11.97, allocations: 0 / 4.644 GB, free: 75.54 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001968/11.97, allocations: 1.869 MB / 4.646 GB, free: 75.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008194/11.98, allocations: 1.63 MB / 4.647 GB, free: 75.13 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009632/11.99, allocations: 5.28 MB / 4.653 GB, free: 73.89 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/11.99, allocations: 2.157 MB / 4.655 GB, free: 73.14 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004773/12, allocations: 1.059 MB / 4.656 GB, free: 73.1 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/12, allocations: 157.1 kB / 4.656 GB, free: 73.1 MB / 0.9167 GB Notification: Performance of SimCode: time 1.773e-06/12, allocations: 0 / 4.656 GB, free: 73.1 MB / 0.9167 GB Notification: Performance of Templates: time 0.1494/12.15, allocations: 101 MB / 4.755 GB, free: 67.77 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