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.509/1.509, allocations: 249.5 MB / 257 MB, free: 6.938 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.001173/0.001173, allocations: 183.1 kB / 316.3 MB, free: 3.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.795/1.795, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.001065/0.001065, allocations: 86.34 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.31e-05/2.312e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2758, allocations: 106.3 MB / 0.8852 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.812/7.088, allocations: 2.459 GB / 3.344 GB, free: 230.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/7.088, allocations: 97.44 kB / 3.344 GB, free: 230.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.725/9.813, allocations: 0.8428 GB / 4.187 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/9.813, allocations: 0 / 4.187 GB, free: 37.66 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001959/9.813, allocations: 51.59 kB / 4.187 GB, free: 37.61 MB / 0.8698 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.004751/9.818, allocations: 2.359 MB / 4.19 GB, free: 35.18 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/9.818, allocations: 15.38 kB / 4.19 GB, free: 35.16 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001758/9.82, allocations: 370.4 kB / 4.19 GB, free: 34.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/9.823, allocations: 2.041 MB / 4.192 GB, free: 32.76 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.226e-05/9.823, allocations: 44 kB / 4.192 GB, free: 32.71 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/9.823, allocations: 91.44 kB / 4.192 GB, free: 32.63 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001776/9.825, allocations: 1.118 MB / 4.193 GB, free: 31.51 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/9.827, allocations: 1.373 MB / 4.195 GB, free: 30.09 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/9.827, allocations: 3.75 kB / 4.195 GB, free: 30.09 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/9.827, allocations: 4 kB / 4.195 GB, free: 30.08 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/9.827, allocations: 50.55 kB / 4.195 GB, free: 30.03 MB / 0.8698 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.007668/9.835, allocations: 6.175 MB / 4.201 GB, free: 23.69 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/9.836, allocations: 0.8464 MB / 4.201 GB, free: 22.83 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/9.837, allocations: 0.5777 MB / 4.202 GB, free: 22.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/9.837, allocations: 0.6868 MB / 4.203 GB, free: 21.42 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/9.837, allocations: 39.34 kB / 4.203 GB, free: 21.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=83): time 2.845e-06/9.837, allocations: 3.938 kB / 4.203 GB, free: 21.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85): time 0.00473/9.842, allocations: 2.705 MB / 4.205 GB, free: 18.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.008e-05/9.842, allocations: 196.7 kB / 4.206 GB, free: 18.38 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/9.844, allocations: 1.504 MB / 4.207 GB, free: 16.88 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001043/9.844, allocations: 29.7 kB / 4.207 GB, free: 16.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005208/9.845, allocations: 0.9011 MB / 4.208 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001987/9.845, allocations: 275.9 kB / 4.208 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/9.845, allocations: 7.938 kB / 4.208 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.817e-05/9.845, allocations: 341.9 kB / 4.209 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005926/9.846, allocations: 0.5571 MB / 4.209 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/9.846, allocations: 0.8357 MB / 4.21 GB, free: 13.84 MB / 0.8698 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.0035/9.85, allocations: 2.127 MB / 4.212 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/9.85, allocations: 4 kB / 4.212 GB, free: 11.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002364/9.852, allocations: 1.536 MB / 4.214 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003598/9.853, allocations: 1.653 MB / 4.215 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/9.853, allocations: 7.938 kB / 4.215 GB, free: 8.336 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.945e-05/9.853, allocations: 10.41 kB / 4.215 GB, free: 8.328 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007041/9.853, allocations: 179.7 kB / 4.215 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/9.853, allocations: 8 kB / 4.215 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/9.855, allocations: 94.59 kB / 4.215 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/9.855, allocations: 55.55 kB / 4.215 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.586e-06/9.855, allocations: 0 / 4.215 GB, free: 8.008 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001932/9.857, allocations: 1.453 MB / 4.217 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/9.857, allocations: 6.812 kB / 4.217 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/9.857, allocations: 8 kB / 4.217 GB, free: 6.543 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/9.858, allocations: 175.8 kB / 4.217 GB, free: 6.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/9.858, allocations: 15.92 kB / 4.217 GB, free: 6.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/9.859, allocations: 95.81 kB / 4.217 GB, free: 6.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/9.859, allocations: 47.98 kB / 4.217 GB, free: 6.223 MB / 0.8698 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 () * 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.0003054/9.86, allocations: 226.1 kB / 4.217 GB, free: 5.977 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004278/9.86, allocations: 177.8 kB / 4.218 GB, free: 5.801 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/9.862, allocations: 1.251 MB / 4.219 GB, free: 4.547 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.291e-05/9.862, allocations: 11.98 kB / 4.219 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/9.862, allocations: 0 / 4.219 GB, free: 4.535 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/9.864, allocations: 1.357 MB / 4.22 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005574/9.869, allocations: 3.224 MB / 4.223 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/9.869, allocations: 7.938 kB / 4.223 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/9.87, allocations: 175.2 kB / 4.223 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-05/9.87, allocations: 8 kB / 4.223 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.112e-05/9.87, allocations: 12 kB / 4.224 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-05/9.87, allocations: 12.98 kB / 4.224 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/9.87, allocations: 11.59 kB / 4.224 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/9.874, allocations: 2.491 MB / 4.226 GB, free: 12.92 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/9.875, allocations: 438.5 kB / 4.226 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004699/9.876, allocations: 8 kB / 4.226 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/9.877, allocations: 82.08 kB / 4.226 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/9.877, allocations: 100.3 kB / 4.227 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.79e-05/9.877, allocations: 41.52 kB / 4.227 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002336/9.88, allocations: 1.146 MB / 4.228 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.9e-07/9.88, allocations: 3.938 kB / 4.228 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0038/9.883, allocations: 0.906 MB / 4.229 GB, free: 10.21 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) * 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.004125/9.888, allocations: 2.392 MB / 4.231 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004127/9.892, allocations: 2.942 MB / 4.234 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/9.892, allocations: 0 / 4.234 GB, free: 5.098 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/9.893, allocations: 0.9638 MB / 4.235 GB, free: 4.102 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/9.898, allocations: 0.841 MB / 4.236 GB, free: 3.297 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007384/9.905, allocations: 3.052 MB / 4.239 GB, free: 252 kB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.577/10.48, allocations: 1.562 MB / 4.24 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003112/10.49, allocations: 0.5984 MB / 4.241 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/10.49, allocations: 94.09 kB / 4.241 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.052e-06/10.49, allocations: 0 / 4.241 GB, free: 125.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.09661/10.58, allocations: 45.65 MB / 4.285 GB, free: 124 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