Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.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.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.TRoo|con.port_a.m_flow|con.mAir_flow|con.Q_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.49/1.49, allocations: 249.5 MB / 257 MB, free: 6.906 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.001117/0.001117, allocations: 177 kB / 316.3 MB, free: 3.316 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.808/1.808, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.00108/0.00108, allocations: 86.47 kB / 0.6714 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.65e-05/2.664e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2453, allocations: 106.3 MB / 0.8852 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.678/1.923, allocations: 405.3 MB / 1.281 GB, free: 326.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/1.924, allocations: 109.4 kB / 1.281 GB, free: 326.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.119/3.042, allocations: 349.5 MB / 1.622 GB, free: 201 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.573e-06/3.042, allocations: 0 / 1.622 GB, free: 201 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001233/3.042, allocations: 36.08 kB / 1.622 GB, free: 201 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: 157 * Number of variables: 157 Notification: Performance of Generate backend data structure: time 0.002829/3.045, allocations: 1.431 MB / 1.624 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/3.045, allocations: 10.12 kB / 1.624 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003951/3.046, allocations: 131.6 kB / 1.624 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002477/3.048, allocations: 1.173 MB / 1.625 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/3.048, allocations: 21.06 kB / 1.625 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/3.048, allocations: 41 kB / 1.625 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001218/3.049, allocations: 0.5318 MB / 1.626 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/3.051, allocations: 0.6823 MB / 1.626 GB, free: 200 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/3.051, allocations: 0.7031 kB / 1.626 GB, free: 200 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/3.051, allocations: 4.938 kB / 1.626 GB, free: 200 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/3.051, allocations: 15.47 kB / 1.626 GB, free: 200 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.004584/3.056, allocations: 2.957 MB / 1.629 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/3.056, allocations: 412.6 kB / 1.63 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/3.057, allocations: 274.8 kB / 1.63 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006843/3.057, allocations: 0.7665 MB / 1.631 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/3.057, allocations: 39.39 kB / 1.631 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 2.455e-06/3.057, allocations: 1.062 kB / 1.631 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.00142/3.059, allocations: 0.6392 MB / 1.631 GB, free: 198 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/3.059, allocations: 144.5 kB / 1.632 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/3.06, allocations: 0.7978 MB / 1.632 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/3.06, allocations: 27.73 kB / 1.632 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/3.06, allocations: 491.3 kB / 1.633 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/3.061, allocations: 121.8 kB / 1.633 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/3.061, allocations: 2.5 kB / 1.633 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.394e-05/3.061, allocations: 326.8 kB / 1.633 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/3.061, allocations: 310.1 kB / 1.634 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/3.062, allocations: 417.6 kB / 1.634 GB, free: 197 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008439/3.063, allocations: 384.4 kB / 1.634 GB, free: 197 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/3.063, allocations: 1 kB / 1.634 GB, free: 197 MB / 0.8698 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001662/3.064, allocations: 0.8641 MB / 1.635 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003083/3.065, allocations: 0.8834 MB / 1.636 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/3.065, allocations: 5.781 kB / 1.636 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/3.065, allocations: 3.625 kB / 1.636 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003981/3.065, allocations: 90.2 kB / 1.636 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/3.065, allocations: 3.844 kB / 1.636 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/3.066, allocations: 81.58 kB / 1.636 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/3.066, allocations: 27.95 kB / 1.636 GB, free: 196 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/3.066, allocations: 3.875 kB / 1.636 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001624/3.067, allocations: 0.8235 MB / 1.637 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/3.067, allocations: 5.219 kB / 1.637 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.524e-06/3.068, allocations: 4.156 kB / 1.637 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/3.068, allocations: 88.16 kB / 1.637 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.862e-06/3.068, allocations: 4.188 kB / 1.637 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/3.068, allocations: 75.55 kB / 1.637 GB, free: 196 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/3.069, allocations: 28.25 kB / 1.637 GB, free: 196 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 44 * 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.0001919/3.069, allocations: 206.7 kB / 1.637 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/3.069, allocations: 93.14 kB / 1.637 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/3.071, allocations: 0.7719 MB / 1.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/3.071, allocations: 7.875 kB / 1.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/3.071, allocations: 0.9375 kB / 1.638 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/3.072, allocations: 0.8663 MB / 1.639 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/3.075, allocations: 1.864 MB / 1.641 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/3.075, allocations: 2.156 kB / 1.641 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/3.076, allocations: 65.55 kB / 1.641 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/3.076, allocations: 11.33 kB / 1.641 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/3.076, allocations: 11.94 kB / 1.641 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/3.076, allocations: 10.22 kB / 1.641 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/3.076, allocations: 3.094 kB / 1.641 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/3.078, allocations: 1.342 MB / 1.642 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005032/3.078, allocations: 271 kB / 1.643 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/3.079, allocations: 10.16 kB / 1.643 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/3.079, allocations: 45.09 kB / 1.643 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/3.079, allocations: 44.64 kB / 1.643 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.822e-05/3.079, allocations: 26.61 kB / 1.643 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.00108/3.08, allocations: 0.6143 MB / 1.643 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.91e-07/3.08, allocations: 3.906 kB / 1.643 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002309/3.083, allocations: 0.5905 MB / 1.644 GB, free: 194.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (con.hex.vol.dynBal.U,senTem.T) * Number of discrete variables: 3 (con.mod.temDif_mod.i,con.mod.watFlo_mod.i,con.mod.airFlo_mod.i) * Number of discrete states: 3 (con.mod.watFlo_mod.i,con.mod.temDif_mod.i,con.mod.airFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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.002011/3.085, allocations: 0.7234 MB / 1.645 GB, free: 194 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002451/3.087, allocations: 1.846 MB / 1.646 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/3.087, allocations: 1.188 kB / 1.646 GB, free: 193.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006555/3.088, allocations: 0.5135 MB / 1.647 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/3.09, allocations: 408 kB / 1.647 GB, free: 193.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/3.094, allocations: 1.463 MB / 1.649 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008643/3.095, allocations: 1.092 MB / 1.65 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001438/3.096, allocations: 282 kB / 1.65 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/3.096, allocations: 55.86 kB / 1.65 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of SimCode: time 5.71e-07/3.096, allocations: 0 / 1.65 GB, free: 191.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.0393/3.136, allocations: 21.56 MB / 1.671 GB, free: 191.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_Convector.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.Convector.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches