Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.316/1.316, 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.001093/0.001093, allocations: 186.7 kB / 326.5 MB, free: 2.223 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.53/1.53, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008873/0.0008873, allocations: 93.86 kB / 0.6821 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000329/0.000329, allocations: 13.41 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2144, allocations: 106.3 MB / 0.9001 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.06/5.274, allocations: 2.459 GB / 3.359 GB, free: 96.72 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/5.274, allocations: 113.4 kB / 3.359 GB, free: 96.61 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.008/8.282, allocations: 0.8518 GB / 4.211 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.355e-06/8.282, allocations: 3.625 kB / 4.211 GB, free: 129.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002087/8.283, allocations: 53.55 kB / 4.211 GB, free: 129.2 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: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.005294/8.288, allocations: 2.771 MB / 4.214 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/8.288, allocations: 7 kB / 4.214 GB, free: 127.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/8.289, allocations: 389.3 kB / 4.214 GB, free: 127.8 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/8.293, allocations: 2.049 MB / 4.216 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/8.293, allocations: 103 kB / 4.216 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000172/8.293, allocations: 143.3 kB / 4.216 GB, free: 127.5 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/8.295, allocations: 1.608 MB / 4.218 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/8.295, allocations: 0 / 4.218 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/8.295, allocations: 62.62 kB / 4.218 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/8.295, allocations: 44.55 kB / 4.218 GB, free: 127.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/8.297, allocations: 1.254 MB / 4.219 GB, free: 127.3 MB / 0.8855 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.006868/8.304, allocations: 6.459 MB / 4.226 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/8.305, allocations: 0.9196 MB / 4.226 GB, free: 125.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004948/8.306, allocations: 0.6868 MB / 4.227 GB, free: 124.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/8.306, allocations: 52.86 kB / 4.227 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=83): time 2.765e-06/8.306, allocations: 0 / 4.227 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.005441/8.311, allocations: 3.911 MB / 4.231 GB, free: 123.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/8.311, allocations: 200.7 kB / 4.231 GB, free: 122.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/8.313, allocations: 1.797 MB / 4.233 GB, free: 122.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.209e-05/8.314, allocations: 45.27 kB / 4.233 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/8.314, allocations: 0.8906 MB / 4.234 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001755/8.314, allocations: 289 kB / 4.234 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/8.314, allocations: 19.38 kB / 4.234 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.898e-05/8.314, allocations: 342.5 kB / 4.234 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007113/8.315, allocations: 0.6099 MB / 4.235 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/8.316, allocations: 0.8679 MB / 4.236 GB, free: 121.6 MB / 0.8855 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.003778/8.32, allocations: 2.415 MB / 4.238 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/8.32, allocations: 0 / 4.238 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002222/8.322, allocations: 1.836 MB / 4.24 GB, free: 120.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003268/8.322, allocations: 1.662 MB / 4.242 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/8.322, allocations: 3.594 kB / 4.242 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/8.322, allocations: 15.45 kB / 4.242 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/8.323, allocations: 173.3 kB / 4.242 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/8.323, allocations: 14.17 kB / 4.242 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/8.325, allocations: 125.9 kB / 4.242 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/8.325, allocations: 49.34 kB / 4.242 GB, free: 119 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.404e-06/8.325, allocations: 3.312 kB / 4.242 GB, free: 119 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001983/8.327, allocations: 1.841 MB / 4.244 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/8.327, allocations: 3.719 kB / 4.244 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/8.327, allocations: 10.72 kB / 4.244 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/8.327, allocations: 184.3 kB / 4.244 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/8.327, allocations: 6.656 kB / 4.244 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/8.329, allocations: 117.5 kB / 4.244 GB, free: 118.8 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/8.329, allocations: 51.36 kB / 4.244 GB, free: 118.8 MB / 0.8855 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: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.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 (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.001045/8.33, allocations: 0.7051 MB / 4.245 GB, free: 118.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/8.33, allocations: 194.7 kB / 4.245 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001873/8.332, allocations: 1.499 MB / 4.247 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/8.332, allocations: 7.219 kB / 4.247 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/8.332, allocations: 0 / 4.247 GB, free: 118.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001438/8.333, allocations: 1.549 MB / 4.248 GB, free: 117.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/8.338, allocations: 3.615 MB / 4.252 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/8.338, allocations: 6.906 kB / 4.252 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006967/8.339, allocations: 166.2 kB / 4.252 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/8.339, allocations: 10.78 kB / 4.252 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/8.339, allocations: 36.19 kB / 4.252 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/8.339, allocations: 13.2 kB / 4.252 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/8.339, allocations: 9.531 kB / 4.252 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002685/8.342, allocations: 2.8 MB / 4.255 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008208/8.343, allocations: 459.1 kB / 4.255 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002294/8.343, allocations: 28.16 kB / 4.255 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/8.344, allocations: 97.17 kB / 4.255 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/8.344, allocations: 106 kB / 4.255 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/8.344, allocations: 36.75 kB / 4.255 GB, free: 115.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001681/8.346, allocations: 1.403 MB / 4.257 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/8.346, allocations: 1.375 kB / 4.257 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002587/8.348, allocations: 1.006 MB / 4.258 GB, free: 115.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.U,vol.dynBal.mXi[1],beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.002748/8.351, allocations: 2.28 MB / 4.26 GB, free: 115 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003139/8.354, allocations: 3.054 MB / 4.263 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/8.354, allocations: 2.25 kB / 4.263 GB, free: 114.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/8.355, allocations: 1.008 MB / 4.264 GB, free: 114 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/8.36, allocations: 1.017 MB / 4.265 GB, free: 114 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/8.365, allocations: 4.499 MB / 4.269 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008988/8.366, allocations: 1.562 MB / 4.271 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001878/8.368, allocations: 430.5 kB / 4.271 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/8.369, allocations: 131.1 kB / 4.271 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of SimCode: time 2.013e-06/8.369, allocations: 0 / 4.271 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.07507/8.444, allocations: 59.93 MB / 4.33 GB, free: 107.9 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches