Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.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.Movers.Validation.Pump_Nrpm_stratos,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump1.m_flow|pump2.m_flow|pump3.m_flow|pump4.m_flow|pump5.m_flow|forcedPump1.dp|forcedPump2.dp|forcedPump3.dp|forcedPump4.dp|forcedPump5.dp|pump1.P|pump2.P|pump3.P|pump4.P|pump5.P",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos") translateModel(Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump1.m_flow|pump2.m_flow|pump3.m_flow|pump4.m_flow|pump5.m_flow|forcedPump1.dp|forcedPump2.dp|forcedPump3.dp|forcedPump4.dp|forcedPump5.dp|pump1.P|pump2.P|pump3.P|pump4.P|pump5.P",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.459/1.459, allocations: 249.5 MB / 257 MB, free: 6.992 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.0009793/0.0009793, allocations: 187.6 kB / 316.3 MB, free: 3.242 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.778/1.778, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.001098/0.001098, allocations: 86.55 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.024e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2554, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.75/2.006, allocations: 395.3 MB / 1.271 GB, free: 317.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003286/2.006, allocations: 89.56 kB / 1.271 GB, free: 317.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 10.86/12.87, allocations: 2.678 GB / 3.949 GB, free: 53.76 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.204e-06/12.87, allocations: 0 / 3.949 GB, free: 53.76 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.002584/12.87, allocations: 274.7 kB / 3.95 GB, free: 53.71 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1234 * Number of variables: 1234 Notification: Performance of Generate backend data structure: time 0.03639/12.9, allocations: 8.635 MB / 3.958 GB, free: 49.68 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/12.9, allocations: 10.25 kB / 3.958 GB, free: 49.68 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02107/12.93, allocations: 2.856 MB / 3.961 GB, free: 49 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1365/13.06, allocations: 60.08 MB / 4.02 GB, free: 44.42 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003494/13.06, allocations: 160.9 kB / 4.02 GB, free: 44.42 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00239/13.06, allocations: 339.3 kB / 4.02 GB, free: 44.42 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01039/13.08, allocations: 4.881 MB / 4.025 GB, free: 44.39 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/13.09, allocations: 5.837 MB / 4.031 GB, free: 43.23 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-05/13.09, allocations: 6.281 kB / 4.031 GB, free: 43.23 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005814/13.09, allocations: 11.34 kB / 4.031 GB, free: 43.23 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.582e-05/13.09, allocations: 121 kB / 4.031 GB, free: 43.23 MB / 1.01 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.0624/13.15, allocations: 29.04 MB / 4.059 GB, free: 31.2 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/13.16, allocations: 4.765 MB / 4.064 GB, free: 29.34 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003907/13.16, allocations: 2.087 MB / 4.066 GB, free: 28.52 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02732/13.19, allocations: 10.98 MB / 4.076 GB, free: 21.62 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.725e-05/13.19, allocations: 68.16 kB / 4.077 GB, free: 21.56 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007244/13.2, allocations: 0.5511 MB / 4.077 GB, free: 21.33 MB / 1.01 GB Notification: Performance of pre-optimization done (n=262): time 1.571e-05/13.2, allocations: 0 / 4.077 GB, free: 21.33 MB / 1.01 GB Notification: Performance of matching and sorting (n=262): time 0.02092/13.22, allocations: 6.141 MB / 4.083 GB, free: 19.16 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/13.22, allocations: 0.7104 MB / 4.084 GB, free: 18.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02846/13.25, allocations: 9.677 MB / 4.093 GB, free: 14.48 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001876/13.25, allocations: 32.17 kB / 4.093 GB, free: 14.45 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.009304/13.26, allocations: 4.966 MB / 4.098 GB, free: 10.54 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.002858/13.26, allocations: 0.88 MB / 4.099 GB, free: 9.84 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/13.27, allocations: 0 / 4.099 GB, free: 9.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0008191/13.27, allocations: 0.5072 MB / 4.099 GB, free: 9.438 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005057/13.27, allocations: 2.375 MB / 4.102 GB, free: 8.348 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006163/13.28, allocations: 4.659 MB / 4.106 GB, free: 2.887 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/13.29, allocations: 3.423 MB / 4.11 GB, free: 15.99 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001029/13.29, allocations: 16 kB / 4.11 GB, free: 15.98 MB / 1.026 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.0301/13.32, allocations: 8.255 MB / 4.118 GB, free: 8.676 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.9347/14.25, allocations: 34.72 MB / 4.152 GB, free: 72.63 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000396/14.25, allocations: 78.47 kB / 4.152 GB, free: 72.63 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/14.26, allocations: 0.8423 MB / 4.153 GB, free: 72.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007221/14.26, allocations: 1.19 MB / 4.154 GB, free: 72.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/14.27, allocations: 3.956 MB / 4.158 GB, free: 70.01 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01189/14.28, allocations: 373.4 kB / 4.158 GB, free: 70.01 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003096/14.28, allocations: 452.7 kB / 4.158 GB, free: 70.01 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/14.28, allocations: 7.766 kB / 4.158 GB, free: 70 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02468/14.31, allocations: 6.383 MB / 4.165 GB, free: 69.87 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005774/14.31, allocations: 80.61 kB / 4.165 GB, free: 69.87 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002747/14.31, allocations: 0.8424 MB / 4.165 GB, free: 69.83 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00687/14.32, allocations: 1.106 MB / 4.167 GB, free: 69.83 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/14.32, allocations: 3.961 MB / 4.17 GB, free: 67.25 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009343/14.33, allocations: 349.6 kB / 4.171 GB, free: 67.25 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002046/14.34, allocations: 393.2 kB / 4.171 GB, free: 67.25 MB / 1.042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump5.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump4.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump3.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump2.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: forcedPump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (542): * Single equations (assignments): 507 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 9,2 9,2 9,2 9,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.003167/14.34, allocations: 316.5 kB / 4.171 GB, free: 67.14 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004564/14.34, allocations: 0.9105 MB / 4.172 GB, free: 67.14 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02521/14.37, allocations: 6.035 MB / 4.178 GB, free: 66.85 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001311/14.37, allocations: 39.25 kB / 4.178 GB, free: 66.85 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.306e-05/14.37, allocations: 1.188 kB / 4.178 GB, free: 66.85 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001053/14.37, allocations: 23.17 kB / 4.178 GB, free: 66.85 MB / 1.042 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 0.04442/14.41, allocations: 12.7 MB / 4.191 GB, free: 66.22 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/14.41, allocations: 0 / 4.191 GB, free: 66.22 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00345/14.42, allocations: 0.5701 MB / 4.191 GB, free: 66.22 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/14.42, allocations: 0.6496 MB / 4.192 GB, free: 66.18 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001192/14.42, allocations: 86.19 kB / 4.192 GB, free: 66.18 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00443/14.42, allocations: 3.621 MB / 4.195 GB, free: 63.59 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/14.42, allocations: 6.484 kB / 4.195 GB, free: 63.59 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02208/14.45, allocations: 7.676 MB / 4.203 GB, free: 62.6 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006102/14.45, allocations: 1.872 MB / 4.205 GB, free: 61.98 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003711/14.46, allocations: 18.56 kB / 4.205 GB, free: 61.98 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007553/14.46, allocations: 388.5 kB / 4.205 GB, free: 61.96 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005596/14.46, allocations: 198.1 kB / 4.205 GB, free: 61.96 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007037/14.47, allocations: 180.2 kB / 4.206 GB, free: 61.96 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.01839/14.48, allocations: 7.193 MB / 4.213 GB, free: 61.68 MB / 1.042 GB Notification: Performance of sort global known variables: time 7.32e-07/14.48, allocations: 0 / 4.213 GB, free: 61.68 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0224/14.51, allocations: 4.082 MB / 4.217 GB, free: 61.45 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (pump1.filter.x[1],pump1.filter.x[2],pump2.filter.x[1],pump2.filter.x[2],pump3.filter.x[1],pump3.filter.x[2],pump4.filter.x[1],pump4.filter.x[2],pump5.filter.x[1],pump5.filter.x[2],forcedPump1.filter.x[1],forcedPump1.filter.x[2],forcedPump2.filter.x[1],forcedPump2.filter.x[2],forcedPump3.filter.x[1],forcedPump3.filter.x[2],forcedPump4.filter.x[1],forcedPump4.filter.x[2],forcedPump5.filter.x[1],forcedPump5.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 8,2 8,2 8,2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.008245/14.51, allocations: 4.439 MB / 4.221 GB, free: 59.9 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01851/14.53, allocations: 9.303 MB / 4.23 GB, free: 59.15 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/14.53, allocations: 6.969 kB / 4.23 GB, free: 59.15 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.004198/14.54, allocations: 1.881 MB / 4.232 GB, free: 59.13 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02271/14.56, allocations: 4.365 MB / 4.236 GB, free: 59.08 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03634/14.6, allocations: 13.25 MB / 4.249 GB, free: 55.79 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01205/14.61, allocations: 5.271 MB / 4.254 GB, free: 54.88 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02646/14.63, allocations: 4.725 MB / 4.259 GB, free: 54.79 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002799/14.64, allocations: 0.5699 MB / 4.259 GB, free: 54.79 MB / 1.042 GB Notification: Performance of SimCode: time 1.443e-06/14.64, allocations: 0 / 4.259 GB, free: 54.79 MB / 1.042 GB Notification: Performance of Templates: time 0.3228/14.96, allocations: 198.2 MB / 4.453 GB, free: 14.59 MB / 1.042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Validation_Pump_Nrpm_stratos.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.Pump_Nrpm_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches