Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|beaCooHea10.heaToRoo.Q_flow|beaCooHea.heaToRoo.Q_flow|pumHotWat10.dp|pumHotWat.dp|pumChiWat.dp|pumChiWat10.dp|pumChiWat10.m_flow|pumChiWat.m_flow|pumHotWat10.m_flow|pumHotWat.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|beaCooHea10.heaToRoo.Q_flow|beaCooHea.heaToRoo.Q_flow|pumHotWat10.dp|pumHotWat.dp|pumChiWat.dp|pumChiWat10.dp|pumChiWat10.m_flow|pumChiWat.m_flow|pumHotWat10.m_flow|pumHotWat.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.26/2.26, allocations: 387.1 MB / 399.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 184.1 kB / 492.3 MB, free: 0.6172 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.3 MB / 0.7872 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 90.02 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.369e-05/3.382e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2986, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.854/6.153, allocations: 2.203 GB / 3.415 GB, free: 103 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/6.153, allocations: 100.4 kB / 3.415 GB, free: 102.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 14.31/20.46, allocations: 3.711 GB / 7.126 GB, free: 90.68 MB / 1.307 GB Notification: Performance of FrontEnd: time 2.054e-06/20.46, allocations: 0 / 7.126 GB, free: 90.68 MB / 1.307 GB Notification: Performance of Transformations before backend: time 0.001553/20.46, allocations: 193.6 kB / 7.126 GB, free: 90.64 MB / 1.307 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.02656/20.49, allocations: 7.619 MB / 7.133 GB, free: 85.89 MB / 1.307 GB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/20.49, allocations: 7.375 kB / 7.133 GB, free: 85.89 MB / 1.307 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/20.5, allocations: 2.217 MB / 7.136 GB, free: 85.41 MB / 1.307 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02963/20.53, allocations: 9.343 MB / 7.145 GB, free: 81.09 MB / 1.307 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001721/20.53, allocations: 0.5873 MB / 7.145 GB, free: 80.92 MB / 1.307 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0023/20.53, allocations: 443.8 kB / 7.146 GB, free: 80.79 MB / 1.307 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/20.55, allocations: 5.223 MB / 7.151 GB, free: 78.33 MB / 1.307 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.235e-05/20.55, allocations: 7.5 kB / 7.151 GB, free: 78.32 MB / 1.307 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005869/20.55, allocations: 169.9 kB / 7.151 GB, free: 78.2 MB / 1.307 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-05/20.55, allocations: 96.09 kB / 7.151 GB, free: 78.2 MB / 1.307 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008306/20.56, allocations: 4.042 MB / 7.155 GB, free: 76.5 MB / 1.307 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.04995/20.61, allocations: 24.8 MB / 7.179 GB, free: 58.87 MB / 1.307 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/20.61, allocations: 2.685 MB / 7.182 GB, free: 57.57 MB / 1.307 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002535/20.62, allocations: 1.77 MB / 7.184 GB, free: 56.74 MB / 1.307 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01641/20.63, allocations: 8.147 MB / 7.192 GB, free: 49.24 MB / 1.307 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/20.63, allocations: 56.56 kB / 7.192 GB, free: 49.18 MB / 1.307 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004694/20.64, allocations: 408.6 kB / 7.192 GB, free: 48.78 MB / 1.307 GB Notification: Performance of pre-optimization done (n=190): time 1.077e-05/20.64, allocations: 0 / 7.192 GB, free: 48.78 MB / 1.307 GB Notification: Performance of matching and sorting (n=190): time 0.01258/20.65, allocations: 4.955 MB / 7.197 GB, free: 43.72 MB / 1.307 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002393/20.65, allocations: 417.8 kB / 7.197 GB, free: 43.23 MB / 1.307 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01693/20.67, allocations: 7.047 MB / 7.204 GB, free: 36.21 MB / 1.307 GB Notification: Performance of collectPreVariables (initialization): time 0.001102/20.67, allocations: 89.7 kB / 7.204 GB, free: 36.11 MB / 1.307 GB Notification: Performance of collectInitialEqns (initialization): time 0.004036/20.67, allocations: 3.577 MB / 7.208 GB, free: 32.54 MB / 1.307 GB Notification: Performance of collectInitialBindings (initialization): time 0.001262/20.67, allocations: 0.6272 MB / 7.208 GB, free: 31.91 MB / 1.307 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/20.67, allocations: 52 kB / 7.208 GB, free: 31.86 MB / 1.307 GB Notification: Performance of setup shared object (initialization): time 0.0001831/20.67, allocations: 420.1 kB / 7.209 GB, free: 31.45 MB / 1.307 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/20.68, allocations: 2.059 MB / 7.211 GB, free: 29.38 MB / 1.307 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003092/20.68, allocations: 3.257 MB / 7.214 GB, free: 25.6 MB / 1.307 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002979/20.68, allocations: 2.94 MB / 7.217 GB, free: 22.52 MB / 1.307 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/20.68, allocations: 11.95 kB / 7.217 GB, free: 22.5 MB / 1.307 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01149/20.69, allocations: 6.779 MB / 7.223 GB, free: 15.55 MB / 1.307 GB Notification: Performance of prepare postOptimizeDAE: time 0.003405/20.7, allocations: 14.44 MB / 7.238 GB, free: 304 kB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/20.7, allocations: 24 kB / 7.238 GB, free: 280 kB / 1.307 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/20.7, allocations: 493.8 kB / 7.238 GB, free: 15.81 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003169/20.7, allocations: 0.6318 MB / 7.239 GB, free: 15.18 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00201/20.7, allocations: 2.587 MB / 7.241 GB, free: 12.49 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008381/20.71, allocations: 0.5389 MB / 7.242 GB, free: 11.95 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/20.71, allocations: 203.9 kB / 7.242 GB, free: 11.75 MB / 1.323 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/20.71, allocations: 4 kB / 7.242 GB, free: 11.75 MB / 1.323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01173/20.73, allocations: 6.868 MB / 7.249 GB, free: 4.715 MB / 1.323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.889e-05/20.73, allocations: 28 kB / 7.249 GB, free: 4.688 MB / 1.323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/20.73, allocations: 493.9 kB / 7.249 GB, free: 4.227 MB / 1.323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00286/20.73, allocations: 0.6205 MB / 7.25 GB, free: 3.605 MB / 1.323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002128/20.73, allocations: 2.588 MB / 7.252 GB, free: 0.9141 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008982/20.74, allocations: 0.531 MB / 7.253 GB, free: 388 kB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/20.74, allocations: 195.9 kB / 7.253 GB, free: 192 kB / 1.323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (299): * Single equations (assignments): 267 * Array equations: 4 * Algorithm blocks: 24 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.00175/20.74, allocations: 0.6496 MB / 7.254 GB, free: 15.46 MB / 1.339 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003463/20.75, allocations: 0.7097 MB / 7.254 GB, free: 14.74 MB / 1.339 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01584/20.76, allocations: 5.665 MB / 7.26 GB, free: 9 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.881e-05/20.76, allocations: 23.98 kB / 7.26 GB, free: 8.977 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/20.76, allocations: 4 kB / 7.26 GB, free: 8.973 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-05/20.76, allocations: 11.91 kB / 7.26 GB, free: 8.961 MB / 1.339 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 postOpt removeSimpleEquations (simulation): time 1.136/21.9, allocations: 11.56 MB / 7.271 GB, free: 124.8 MB / 1.339 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/21.9, allocations: 6.969 kB / 7.271 GB, free: 124.8 MB / 1.339 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/21.9, allocations: 434.7 kB / 7.272 GB, free: 124.8 MB / 1.339 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/21.9, allocations: 475.8 kB / 7.272 GB, free: 124.8 MB / 1.339 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004136/21.9, allocations: 71.19 kB / 7.272 GB, free: 124.8 MB / 1.339 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/21.91, allocations: 2.575 MB / 7.275 GB, free: 122.8 MB / 1.339 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-05/21.91, allocations: 11.53 kB / 7.275 GB, free: 122.8 MB / 1.339 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/21.92, allocations: 6.364 MB / 7.281 GB, free: 121 MB / 1.339 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005056/21.93, allocations: 1.42 MB / 7.282 GB, free: 120.7 MB / 1.339 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002355/21.93, allocations: 60.42 kB / 7.282 GB, free: 120.7 MB / 1.339 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006163/21.93, allocations: 483.9 kB / 7.283 GB, free: 120.7 MB / 1.339 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007583/21.94, allocations: 287.5 kB / 7.283 GB, free: 120.7 MB / 1.339 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000385/21.94, allocations: 110.1 kB / 7.283 GB, free: 120.7 MB / 1.339 GB Notification: Performance of sorting global known variables: time 0.01629/21.95, allocations: 5.407 MB / 7.288 GB, free: 120.4 MB / 1.339 GB Notification: Performance of sort global known variables: time 5.91e-07/21.95, allocations: 0 / 7.288 GB, free: 120.4 MB / 1.339 GB Notification: Performance of remove unused functions: time 0.02319/21.98, allocations: 3.622 MB / 7.292 GB, free: 120.3 MB / 1.339 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 12 (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,beaCooHea10.conCoo.mod.temDif_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i) * Number of discrete states: 12 (beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea10.conCoo.mod.airFlo_mod.i,beaCooHea10.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea10.conHea.mod.watFlo_mod.i,beaCooHea10.conCoo.mod.watFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea10.conHea.mod.temDif_mod.i,beaCooHea10.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 12 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0137/21.99, allocations: 7.226 MB / 7.299 GB, free: 117.1 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.01572/22, allocations: 11.24 MB / 7.31 GB, free: 114 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 1.541e-05/22.01, allocations: 0 / 7.31 GB, free: 114 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.005062/22.01, allocations: 3.484 MB / 7.313 GB, free: 113.2 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02346/22.03, allocations: 3.478 MB / 7.317 GB, free: 113.2 MB / 1.339 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03102/22.06, allocations: 10.44 MB / 7.327 GB, free: 110.8 MB / 1.339 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008232/22.07, allocations: 4.004 MB / 7.331 GB, free: 110 MB / 1.339 GB Notification: Performance of simCode: alias equations: time 0.01997/22.09, allocations: 2.499 MB / 7.333 GB, free: 109.9 MB / 1.339 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/22.09, allocations: 345.7 kB / 7.334 GB, free: 109.9 MB / 1.339 GB Notification: Performance of SimCode: time 2.525e-06/22.09, allocations: 0.7812 kB / 7.334 GB, free: 109.9 MB / 1.339 GB Notification: Performance of Templates: time 0.3242/22.42, allocations: 206.4 MB / 7.535 GB, free: 97.01 MB / 1.339 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Validation_NumberOfBeams.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.Validation.NumberOfBeams.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches