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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.5 MB / 257 MB, free: 6.891 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.001124/0.001124, allocations: 179.8 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.79/1.79, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008869/0.0008872, allocations: 91.64 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.561e-05/1.563e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2528, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.72/1.973, allocations: 435.6 MB / 1.311 GB, free: 309.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/1.973, allocations: 92.58 kB / 1.311 GB, free: 309.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.981/6.954, allocations: 1.394 GB / 2.704 GB, free: 86.17 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.623e-06/6.954, allocations: 0 / 2.704 GB, free: 86.17 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0005691/6.954, allocations: 107 kB / 2.704 GB, free: 86.15 MB / 0.9167 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.01063/6.965, allocations: 3.69 MB / 2.708 GB, free: 84.67 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/6.965, allocations: 7.688 kB / 2.708 GB, free: 84.67 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006907/6.972, allocations: 1.127 MB / 2.709 GB, free: 84.42 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05629/7.028, allocations: 27.64 MB / 2.736 GB, free: 82.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001447/7.029, allocations: 74.48 kB / 2.736 GB, free: 82.75 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007348/7.029, allocations: 145.8 kB / 2.736 GB, free: 82.75 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003583/7.033, allocations: 1.882 MB / 2.738 GB, free: 82.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/7.036, allocations: 2.267 MB / 2.74 GB, free: 82.38 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.345e-05/7.036, allocations: 6.188 kB / 2.74 GB, free: 82.38 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002069/7.037, allocations: 3.906 kB / 2.74 GB, free: 82.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/7.037, allocations: 49.69 kB / 2.74 GB, free: 82.38 MB / 0.9167 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.01812/7.055, allocations: 11.87 MB / 2.752 GB, free: 76.51 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/7.057, allocations: 1.993 MB / 2.754 GB, free: 76.48 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008891/7.058, allocations: 0.8113 MB / 2.755 GB, free: 76.48 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00729/7.065, allocations: 4.04 MB / 2.759 GB, free: 74.59 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/7.066, allocations: 51.62 kB / 2.759 GB, free: 74.55 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001696/7.067, allocations: 167.4 kB / 2.759 GB, free: 74.48 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=119): time 4.658e-06/7.067, allocations: 0 / 2.759 GB, free: 74.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119): time 0.007161/7.074, allocations: 2.702 MB / 2.762 GB, free: 74.16 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/7.074, allocations: 63.53 kB / 2.762 GB, free: 74.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/7.079, allocations: 2.574 MB / 2.764 GB, free: 73.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000495/7.079, allocations: 29.33 kB / 2.764 GB, free: 73.78 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001609/7.081, allocations: 1.758 MB / 2.766 GB, free: 73.27 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004617/7.081, allocations: 397.3 kB / 2.766 GB, free: 73.01 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/7.082, allocations: 0 / 2.766 GB, free: 73.01 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000157/7.082, allocations: 380.7 kB / 2.767 GB, free: 72.71 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001271/7.083, allocations: 0.8137 MB / 2.767 GB, free: 72.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/7.085, allocations: 1.602 MB / 2.769 GB, free: 71.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/7.089, allocations: 1.223 MB / 2.77 GB, free: 71.72 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.812e-05/7.089, allocations: 6.156 kB / 2.77 GB, free: 71.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.008979/7.098, allocations: 3.262 MB / 2.773 GB, free: 71.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002692/7.101, allocations: 8.061 MB / 2.781 GB, free: 63.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.603e-05/7.101, allocations: 18.59 kB / 2.781 GB, free: 63.07 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002149/7.103, allocations: 0.8513 MB / 2.782 GB, free: 63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001971/7.105, allocations: 393.1 kB / 2.782 GB, free: 63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/7.109, allocations: 5.829 MB / 2.788 GB, free: 58.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003806/7.113, allocations: 183 kB / 2.788 GB, free: 58.83 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005564/7.114, allocations: 180.2 kB / 2.789 GB, free: 58.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/7.114, allocations: 5.375 kB / 2.789 GB, free: 58.83 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006907/7.121, allocations: 2.727 MB / 2.791 GB, free: 58.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.335e-05/7.121, allocations: 23.16 kB / 2.791 GB, free: 58.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002433/7.123, allocations: 0.9955 MB / 2.792 GB, free: 58.65 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/7.124, allocations: 368.3 kB / 2.793 GB, free: 58.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/7.14, allocations: 13.67 MB / 2.806 GB, free: 50.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/7.143, allocations: 178 kB / 2.806 GB, free: 50.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/7.144, allocations: 149.8 kB / 2.806 GB, free: 50.69 MB / 0.9167 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.0008183/7.145, allocations: 177.6 kB / 2.806 GB, free: 50.57 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007725/7.145, allocations: 342.6 kB / 2.807 GB, free: 50.38 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007606/7.153, allocations: 2.794 MB / 2.809 GB, free: 50.15 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/7.153, allocations: 23.08 kB / 2.809 GB, free: 50.15 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/7.153, allocations: 0 / 2.809 GB, free: 50.15 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/7.153, allocations: 14.28 kB / 2.809 GB, free: 50.14 MB / 0.9167 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.01036/7.164, allocations: 4.643 MB / 2.814 GB, free: 49.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/7.164, allocations: 10.42 kB / 2.814 GB, free: 49.64 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/7.165, allocations: 212.5 kB / 2.814 GB, free: 49.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/7.166, allocations: 0.5063 MB / 2.815 GB, free: 49.58 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.662e-05/7.166, allocations: 35.98 kB / 2.815 GB, free: 49.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002813/7.169, allocations: 5.056 MB / 2.82 GB, free: 45.41 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/7.169, allocations: 0 / 2.82 GB, free: 45.41 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005271/7.174, allocations: 2.529 MB / 2.822 GB, free: 44.78 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001764/7.176, allocations: 0.5901 MB / 2.823 GB, free: 44.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004029/7.176, allocations: 0 / 2.823 GB, free: 44.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/7.178, allocations: 189.2 kB / 2.823 GB, free: 44.48 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/7.178, allocations: 90.23 kB / 2.823 GB, free: 44.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001455/7.178, allocations: 76.62 kB / 2.823 GB, free: 44.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003306/7.182, allocations: 1.926 MB / 2.825 GB, free: 44.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/7.182, allocations: 0 / 2.825 GB, free: 44.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008809/7.19, allocations: 1.904 MB / 2.827 GB, free: 44 MB / 0.9167 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 (105): * Single equations (assignments): 87 * 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.003633/7.194, allocations: 2.276 MB / 2.829 GB, free: 43.37 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00645/7.2, allocations: 3.869 MB / 2.833 GB, free: 42.87 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/7.201, allocations: 0 / 2.833 GB, free: 42.87 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001405/7.202, allocations: 0.8138 MB / 2.834 GB, free: 42.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007776/7.21, allocations: 1.594 MB / 2.835 GB, free: 42.83 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/7.218, allocations: 4.458 MB / 2.84 GB, free: 41.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001749/7.22, allocations: 2.327 MB / 2.842 GB, free: 40.81 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005737/7.226, allocations: 1.242 MB / 2.843 GB, free: 40.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/7.226, allocations: 209.9 kB / 2.843 GB, free: 40.65 MB / 0.9167 GB Notification: Performance of SimCode: time 6.72e-07/7.226, allocations: 0 / 2.843 GB, free: 40.65 MB / 0.9167 GB Notification: Performance of Templates: time 0.1369/7.363, allocations: 85.55 MB / 2.927 GB, free: 19.88 MB / 0.9167 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