Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.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.HeatingOnly,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.HeatingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly,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.HeatingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.331/1.331, allocations: 251.9 MB / 266.9 MB, free: 11.09 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.001126/0.001126, allocations: 182 kB / 326.5 MB, free: 2.281 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.501/1.501, allocations: 205.4 MB / 0.5775 GB, free: 20.33 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.0009457/0.0009459, allocations: 89.89 kB / 0.6821 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003311, allocations: 9.594 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2138, allocations: 106.3 MB / 0.9001 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.113/5.326, allocations: 2.461 GB / 3.361 GB, free: 48.61 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/5.327, allocations: 106.5 kB / 3.361 GB, free: 48.55 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.858/9.185, allocations: 1.205 GB / 4.566 GB, free: 92.5 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.704e-06/9.185, allocations: 0 / 4.566 GB, free: 92.5 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004188/9.185, allocations: 77.3 kB / 4.566 GB, free: 92.49 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: 483 * Number of variables: 483 Notification: Performance of Generate backend data structure: time 0.008768/9.194, allocations: 4.138 MB / 4.57 GB, free: 90.37 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/9.194, allocations: 13.56 kB / 4.57 GB, free: 90.37 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/9.196, allocations: 0.5166 MB / 4.57 GB, free: 90.17 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006104/9.202, allocations: 3.305 MB / 4.574 GB, free: 89.58 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-05/9.202, allocations: 154.8 kB / 4.574 GB, free: 89.58 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003147/9.203, allocations: 210.6 kB / 4.574 GB, free: 89.58 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/9.206, allocations: 2.421 MB / 4.576 GB, free: 89.38 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/9.206, allocations: 6.422 kB / 4.576 GB, free: 89.38 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/9.206, allocations: 82.97 kB / 4.576 GB, free: 89.38 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.893e-05/9.207, allocations: 71.12 kB / 4.576 GB, free: 89.37 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/9.209, allocations: 1.899 MB / 4.578 GB, free: 89.36 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.01165/9.221, allocations: 9.816 MB / 4.588 GB, free: 86.32 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/9.223, allocations: 1.377 MB / 4.589 GB, free: 86.29 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006783/9.223, allocations: 1.174 MB / 4.59 GB, free: 84.97 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/9.223, allocations: 50.72 kB / 4.59 GB, free: 84.93 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=113): time 3.196e-06/9.223, allocations: 0 / 4.59 GB, free: 84.93 MB / 0.9011 GB Notification: Performance of matching and sorting (n=115): time 0.0079/9.231, allocations: 6.204 MB / 4.596 GB, free: 82.89 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/9.231, allocations: 287 kB / 4.597 GB, free: 82.57 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003882/9.235, allocations: 3.007 MB / 4.6 GB, free: 82.35 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001997/9.235, allocations: 58.27 kB / 4.6 GB, free: 82.32 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009524/9.236, allocations: 1.415 MB / 4.601 GB, free: 81.95 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/9.237, allocations: 392.8 kB / 4.601 GB, free: 81.71 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/9.237, allocations: 30.56 kB / 4.601 GB, free: 81.71 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.584e-05/9.237, allocations: 355.7 kB / 4.602 GB, free: 81.41 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/9.238, allocations: 1.021 MB / 4.603 GB, free: 81.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/9.239, allocations: 1.439 MB / 4.604 GB, free: 81 MB / 0.9011 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.004456/9.244, allocations: 2.947 MB / 4.607 GB, free: 80.21 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/9.244, allocations: 3.719 kB / 4.607 GB, free: 80.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.003718/9.247, allocations: 3.08 MB / 4.61 GB, free: 79.63 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005064/9.248, allocations: 2.91 MB / 4.613 GB, free: 76.58 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/9.248, allocations: 8.281 kB / 4.613 GB, free: 76.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/9.248, allocations: 11.16 kB / 4.613 GB, free: 76.58 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001018/9.249, allocations: 256.5 kB / 4.613 GB, free: 76.58 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002778/9.249, allocations: 0.6162 MB / 4.614 GB, free: 76 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/9.252, allocations: 186.4 kB / 4.614 GB, free: 75.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/9.252, allocations: 80.09 kB / 4.614 GB, free: 75.98 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/9.252, allocations: 9.078 kB / 4.614 GB, free: 75.98 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003469/9.255, allocations: 3.179 MB / 4.617 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/9.255, allocations: 9.641 kB / 4.617 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/9.256, allocations: 10.22 kB / 4.617 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008821/9.256, allocations: 242.8 kB / 4.617 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/9.256, allocations: 22.08 kB / 4.617 GB, free: 75.57 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/9.259, allocations: 179.3 kB / 4.618 GB, free: 75.56 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/9.259, allocations: 77.84 kB / 4.618 GB, free: 75.56 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: 7 (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,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00171/9.261, allocations: 1.095 MB / 4.619 GB, free: 75.18 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004951/9.261, allocations: 316 kB / 4.619 GB, free: 75.02 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002849/9.264, allocations: 2.352 MB / 4.621 GB, free: 74.73 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/9.264, allocations: 11.53 kB / 4.621 GB, free: 74.73 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/9.264, allocations: 0 / 4.621 GB, free: 74.73 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002034/9.266, allocations: 2.144 MB / 4.623 GB, free: 74.27 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/9.273, allocations: 5.611 MB / 4.629 GB, free: 73.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/9.273, allocations: 6.625 kB / 4.629 GB, free: 73.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009311/9.274, allocations: 223.5 kB / 4.629 GB, free: 73.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.047e-05/9.274, allocations: 11.19 kB / 4.629 GB, free: 73.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-05/9.274, allocations: 42.2 kB / 4.629 GB, free: 73.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001964/9.275, allocations: 0.6048 MB / 4.63 GB, free: 72.92 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/9.275, allocations: 10.17 kB / 4.63 GB, free: 72.92 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/9.278, allocations: 4.443 MB / 4.634 GB, free: 71.45 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/9.28, allocations: 0.6811 MB / 4.635 GB, free: 71.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/9.28, allocations: 41.78 kB / 4.635 GB, free: 71.19 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/9.282, allocations: 149 kB / 4.635 GB, free: 71.18 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002418/9.282, allocations: 153.5 kB / 4.635 GB, free: 71.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/9.282, allocations: 54.67 kB / 4.635 GB, free: 71.18 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003177/9.285, allocations: 2.344 MB / 4.637 GB, free: 71.03 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.152e-06/9.286, allocations: 0 / 4.637 GB, free: 71.03 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003952/9.289, allocations: 1.462 MB / 4.639 GB, free: 70.97 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 5 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],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 (113): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003525/9.293, allocations: 2.865 MB / 4.642 GB, free: 69.98 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.005117/9.298, allocations: 5.335 MB / 4.647 GB, free: 67.94 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/9.298, allocations: 2.844 kB / 4.647 GB, free: 67.94 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001846/9.3, allocations: 1.861 MB / 4.649 GB, free: 66.94 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006878/9.307, allocations: 1.597 MB / 4.65 GB, free: 66.67 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/9.316, allocations: 6.862 MB / 4.657 GB, free: 63.11 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/9.318, allocations: 2.07 MB / 4.659 GB, free: 62.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003022/9.321, allocations: 0.6333 MB / 4.66 GB, free: 62.16 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/9.321, allocations: 203.2 kB / 4.66 GB, free: 62.14 MB / 0.9011 GB Notification: Performance of SimCode: time 1.112e-06/9.321, allocations: 0 / 4.66 GB, free: 62.14 MB / 0.9011 GB Notification: Performance of Templates: time 0.1109/9.432, allocations: 87.6 MB / 4.745 GB, free: 7.438 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_HeatingOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.HeatingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches