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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 7.004 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.0009696/0.0009697, allocations: 181.2 kB / 316 MB, free: 3.551 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.116/1.116, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0008553/0.0008553, allocations: 97.12 kB / 0.671 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.204e-06/7.224e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.167, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9866/1.154, allocations: 395.3 MB / 1.271 GB, free: 316.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/1.154, allocations: 86.12 kB / 1.271 GB, free: 316.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.136/8.29, allocations: 2.692 GB / 3.963 GB, free: 54.27 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.00147/8.291, allocations: 273 kB / 3.963 GB, free: 54.23 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.02068/8.312, allocations: 8.663 MB / 3.971 GB, free: 50.19 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/8.312, allocations: 7.594 kB / 3.971 GB, free: 50.19 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/8.33, allocations: 3.086 MB / 3.974 GB, free: 49.54 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1393/8.469, allocations: 60.75 MB / 4.034 GB, free: 45.17 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/8.469, allocations: 166.8 kB / 4.034 GB, free: 45.17 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/8.471, allocations: 335.6 kB / 4.034 GB, free: 45.17 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007946/8.479, allocations: 4.972 MB / 4.039 GB, free: 45.14 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007855/8.487, allocations: 5.898 MB / 4.045 GB, free: 43.98 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.785e-05/8.487, allocations: 3.938 kB / 4.045 GB, free: 43.97 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004771/8.487, allocations: 12.66 kB / 4.045 GB, free: 43.97 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-05/8.488, allocations: 120.1 kB / 4.045 GB, free: 43.97 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0433/8.531, allocations: 29.6 MB / 4.074 GB, free: 28.86 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006785/8.538, allocations: 4.501 MB / 4.078 GB, free: 27.28 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002757/8.54, allocations: 2.154 MB / 4.08 GB, free: 26.46 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01879/8.559, allocations: 10.98 MB / 4.091 GB, free: 19.55 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/8.559, allocations: 69.66 kB / 4.091 GB, free: 19.49 MB / 1.01 GB Notification: Performance of pre-optimization done (n=262): time 4.769e-06/8.559, allocations: 0 / 4.091 GB, free: 19.49 MB / 1.01 GB Notification: Performance of matching and sorting (n=262): time 0.0181/8.577, allocations: 6.456 MB / 4.097 GB, free: 17.31 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/8.578, allocations: 0.7157 MB / 4.098 GB, free: 16.46 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01666/8.594, allocations: 9.883 MB / 4.108 GB, free: 9.453 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.001191/8.596, allocations: 33.7 kB / 4.108 GB, free: 9.414 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001705/8.597, allocations: 2.563 MB / 4.11 GB, free: 7.281 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/8.599, allocations: 0.8776 MB / 4.111 GB, free: 6.473 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003421/8.599, allocations: 0 / 4.111 GB, free: 6.473 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002096/8.599, allocations: 0.5037 MB / 4.112 GB, free: 6.023 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003401/8.603, allocations: 2.466 MB / 4.114 GB, free: 3.766 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004742/8.607, allocations: 4.746 MB / 4.119 GB, free: 14.23 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009072/8.617, allocations: 3.57 MB / 4.122 GB, free: 11.25 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.488e-05/8.617, allocations: 19.94 kB / 4.122 GB, free: 11.23 MB / 1.026 GB Notification: Performance of matching and sorting (n=667) (initialization): time 0.01955/8.636, allocations: 8.562 MB / 4.131 GB, free: 3.715 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.4096/9.046, allocations: 34.69 MB / 4.164 GB, free: 128.9 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002319/9.046, allocations: 76.8 kB / 4.164 GB, free: 128.9 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/9.048, allocations: 0.8965 MB / 4.165 GB, free: 128.9 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/9.054, allocations: 1.197 MB / 4.167 GB, free: 128.9 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003277/9.057, allocations: 4.104 MB / 4.171 GB, free: 126.3 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008037/9.065, allocations: 0.7184 MB / 4.171 GB, free: 126.3 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007891/9.066, allocations: 450.9 kB / 4.172 GB, free: 126.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/9.066, allocations: 3.375 kB / 4.172 GB, free: 126.3 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01297/9.079, allocations: 6.673 MB / 4.178 GB, free: 126.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.501e-05/9.079, allocations: 78.44 kB / 4.178 GB, free: 126.2 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/9.081, allocations: 0.8962 MB / 4.179 GB, free: 126.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003853/9.085, allocations: 1.111 MB / 4.18 GB, free: 126.2 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/9.088, allocations: 4.102 MB / 4.184 GB, free: 123.6 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007193/9.096, allocations: 0.5628 MB / 4.185 GB, free: 123.6 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006941/9.096, allocations: 398.3 kB / 4.185 GB, free: 123.6 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: pump1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real forcedPump1.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 {3 8,2 9,2 9,2 9,2 9} Notification: Performance of prepare postOptimizeDAE: time 0.001322/9.098, allocations: 314.2 kB / 4.185 GB, free: 123.5 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002355/9.1, allocations: 0.9103 MB / 4.186 GB, free: 123.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0178/9.118, allocations: 6.841 MB / 4.193 GB, free: 123.2 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.354e-05/9.118, allocations: 33.41 kB / 4.193 GB, free: 123.2 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/9.118, allocations: 0 / 4.193 GB, free: 123.2 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.271e-05/9.118, allocations: 20.69 kB / 4.193 GB, free: 123.2 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03073/9.149, allocations: 12.52 MB / 4.205 GB, free: 122.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/9.149, allocations: 4.969 kB / 4.205 GB, free: 122.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/9.152, allocations: 0.5771 MB / 4.206 GB, free: 122.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001709/9.153, allocations: 0.7805 MB / 4.207 GB, free: 122.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002464/9.154, allocations: 84.97 kB / 4.207 GB, free: 122.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003117/9.157, allocations: 3.978 MB / 4.211 GB, free: 120 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/9.157, allocations: 0 / 4.211 GB, free: 120 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01142/9.168, allocations: 7.777 MB / 4.218 GB, free: 118.8 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004295/9.172, allocations: 1.921 MB / 4.22 GB, free: 118.2 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00147/9.174, allocations: 21.09 kB / 4.22 GB, free: 118.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004413/9.178, allocations: 360.3 kB / 4.22 GB, free: 118.2 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/9.179, allocations: 187.9 kB / 4.221 GB, free: 118.2 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003314/9.179, allocations: 179.7 kB / 4.221 GB, free: 118.2 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.01006/9.189, allocations: 7.341 MB / 4.228 GB, free: 117.9 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.01152/9.201, allocations: 4.119 MB / 4.232 GB, free: 117.7 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 9,2 9,2 9,2 9,2 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.005097/9.206, allocations: 4.45 MB / 4.236 GB, free: 116.1 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01232/9.218, allocations: 9.631 MB / 4.246 GB, free: 115.4 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/9.218, allocations: 2.812 kB / 4.246 GB, free: 115.4 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.002639/9.221, allocations: 1.983 MB / 4.248 GB, free: 115.3 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01608/9.237, allocations: 4.15 MB / 4.252 GB, free: 115.3 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02427/9.261, allocations: 13.88 MB / 4.265 GB, free: 112.2 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006695/9.268, allocations: 6.181 MB / 4.271 GB, free: 111.3 MB / 1.042 GB Notification: Performance of SimCode: time 6.01e-07/9.268, allocations: 0 / 4.271 GB, free: 111.3 MB / 1.042 GB Notification: Performance of Templates: time 0.316/9.584, allocations: 232.2 MB / 4.498 GB, free: 69.62 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