Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.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.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") translateModel(Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pum.dpMachine|pum1.dpMachine|pum2.dpMachine|pum3.dpMachine",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves") [: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.174/1.174, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009607/0.0009607, allocations: 190.1 kB / 316 MB, free: 7.199 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.238/1.238, allocations: 205.1 MB / 0.5667 GB, free: 23.67 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.0008113/0.0008113, allocations: 83.75 kB / 0.671 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.073e-06, allocations: 0 / 0.7807 GB, free: 476 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.388, allocations: 106.3 MB / 0.8846 GB, free: 76.26 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6743/1.062, allocations: 434.6 MB / 1.309 GB, free: 4.691 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/1.063, allocations: 90.45 kB / 1.309 GB, free: 4.648 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.74/4.803, allocations: 1.401 GB / 2.711 GB, free: 28.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003657/4.803, allocations: 111.9 kB / 2.711 GB, free: 28.29 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 529 * Number of variables: 529 Notification: Performance of Generate backend data structure: time 0.007223/4.81, allocations: 3.696 MB / 2.714 GB, free: 24.53 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/4.811, allocations: 8.031 kB / 2.714 GB, free: 24.52 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006119/4.817, allocations: 1.224 MB / 2.715 GB, free: 23.29 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05813/4.875, allocations: 27.9 MB / 2.743 GB, free: 11.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/4.875, allocations: 68 kB / 2.743 GB, free: 11.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005111/4.875, allocations: 144 kB / 2.743 GB, free: 10.92 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003561/4.879, allocations: 1.914 MB / 2.745 GB, free: 8.992 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003715/4.883, allocations: 2.292 MB / 2.747 GB, free: 6.562 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/4.883, allocations: 7.938 kB / 2.747 GB, free: 6.555 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002016/4.883, allocations: 7.906 kB / 2.747 GB, free: 6.547 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-05/4.883, allocations: 55.98 kB / 2.747 GB, free: 6.492 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3237/5.207, allocations: 12.02 MB / 2.759 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/5.209, allocations: 1.946 MB / 2.761 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009298/5.21, allocations: 0.837 MB / 2.762 GB, free: 154.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005599/5.216, allocations: 3.971 MB / 2.765 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/5.216, allocations: 51.75 kB / 2.765 GB, free: 152.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=119): time 2.545e-06/5.216, allocations: 0 / 2.765 GB, free: 152.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=119): time 0.00695/5.223, allocations: 2.804 MB / 2.768 GB, free: 152.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/5.223, allocations: 63.81 kB / 2.768 GB, free: 152.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/5.226, allocations: 2.602 MB / 2.771 GB, free: 151.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002417/5.226, allocations: 29.67 kB / 2.771 GB, free: 151.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/5.227, allocations: 1.036 MB / 2.772 GB, free: 151.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/5.227, allocations: 401.8 kB / 2.772 GB, free: 151.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/5.227, allocations: 0 / 2.772 GB, free: 151.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/5.227, allocations: 376.4 kB / 2.773 GB, free: 151 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/5.228, allocations: 0.8436 MB / 2.773 GB, free: 151 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/5.23, allocations: 1.626 MB / 2.775 GB, free: 150.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/5.233, allocations: 1.279 MB / 2.776 GB, free: 150 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/5.233, allocations: 7.609 kB / 2.776 GB, free: 150 MB / 0.948 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.006819/5.24, allocations: 3.368 MB / 2.78 GB, free: 149.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001101/5.241, allocations: 8.051 MB / 2.787 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/5.241, allocations: 19.84 kB / 2.787 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/5.243, allocations: 0.8685 MB / 2.788 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/5.244, allocations: 404.6 kB / 2.789 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00398/5.248, allocations: 5.942 MB / 2.794 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/5.252, allocations: 313.7 kB / 2.795 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000277/5.252, allocations: 186.8 kB / 2.795 GB, free: 137.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/5.252, allocations: 3.469 kB / 2.795 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006484/5.258, allocations: 2.828 MB / 2.798 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.475e-05/5.258, allocations: 19 kB / 2.798 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002467/5.261, allocations: 1.028 MB / 2.799 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/5.262, allocations: 370.4 kB / 2.799 GB, free: 136.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/5.278, allocations: 13.88 MB / 2.813 GB, free: 129.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/5.281, allocations: 258.9 kB / 2.813 GB, free: 129.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/5.282, allocations: 150.3 kB / 2.813 GB, free: 129.2 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pum3.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: pum2.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: pum1.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: pum.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: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (191): * Single equations (assignments): 179 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 5,1 4,1 5,1 4,1 5,1 4,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006211/5.282, allocations: 184.5 kB / 2.813 GB, free: 129.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/5.283, allocations: 343.3 kB / 2.813 GB, free: 128.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006627/5.29, allocations: 2.953 MB / 2.816 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.035e-05/5.29, allocations: 17.3 kB / 2.816 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/5.29, allocations: 0 / 2.816 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/5.29, allocations: 7.266 kB / 2.816 GB, free: 128.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009639/5.299, allocations: 4.838 MB / 2.821 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/5.299, allocations: 0 / 2.821 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/5.3, allocations: 222.1 kB / 2.821 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001113/5.302, allocations: 0.5541 MB / 2.822 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/5.302, allocations: 27.69 kB / 2.822 GB, free: 128.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/5.304, allocations: 5.196 MB / 2.827 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/5.304, allocations: 0 / 2.827 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005285/5.31, allocations: 2.677 MB / 2.83 GB, free: 123.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/5.311, allocations: 0.609 MB / 2.83 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004238/5.311, allocations: 3.906 kB / 2.83 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/5.313, allocations: 181.7 kB / 2.83 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/5.313, allocations: 89.95 kB / 2.83 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/5.314, allocations: 86.14 kB / 2.831 GB, free: 123.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002507/5.316, allocations: 1.945 MB / 2.832 GB, free: 122.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005248/5.321, allocations: 1.863 MB / 2.834 GB, free: 122.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 4,1 4,1 4,1 4,1 6,1 6,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002727/5.324, allocations: 2.295 MB / 2.836 GB, free: 122.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005514/5.33, allocations: 3.908 MB / 2.84 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/5.33, allocations: 0 / 2.84 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/5.331, allocations: 0.8595 MB / 2.841 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005876/5.337, allocations: 1.514 MB / 2.843 GB, free: 121.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008087/5.345, allocations: 4.72 MB / 2.847 GB, free: 120.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001995/5.347, allocations: 2.603 MB / 2.85 GB, free: 119.9 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/5.347, allocations: 3.625 kB / 2.85 GB, free: 119.9 MB / 0.948 GB Notification: Performance of Templates: time 0.1169/5.464, allocations: 90.89 MB / 2.939 GB, free: 115.4 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_SpeedControlled_y_pumpCurves.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.SpeedControlled_y_pumpCurves.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches