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.464/1.464, allocations: 249.3 MB / 261.8 MB, free: 5.82 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.00132/0.001319, allocations: 182.1 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.00152/0.001519, allocations: 96.64 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.343e-05/3.352e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2083, allocations: 106.3 MB / 0.8918 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.548/1.756, allocations: 435.3 MB / 1.317 GB, free: 303.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.756, allocations: 90.64 kB / 1.317 GB, free: 303.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.527/7.283, allocations: 1.403 GB / 2.719 GB, free: 84.83 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.845e-06/7.283, allocations: 0 / 2.719 GB, free: 84.83 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001139/7.285, allocations: 107.3 kB / 2.72 GB, free: 84.82 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.01513/7.3, allocations: 3.689 MB / 2.723 GB, free: 83.29 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/7.3, allocations: 9.75 kB / 2.723 GB, free: 83.29 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007731/7.307, allocations: 1.125 MB / 2.724 GB, free: 83.04 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06536/7.373, allocations: 27.71 MB / 2.751 GB, free: 81.37 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002614/7.373, allocations: 186.6 kB / 2.752 GB, free: 81.36 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007416/7.374, allocations: 240.7 kB / 2.752 GB, free: 81.36 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004459/7.378, allocations: 2.559 MB / 2.754 GB, free: 80.99 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.017e-05/7.378, allocations: 2.344 kB / 2.754 GB, free: 80.99 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/7.379, allocations: 88.97 kB / 2.754 GB, free: 80.99 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/7.379, allocations: 53.77 kB / 2.754 GB, free: 80.99 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003047/7.382, allocations: 1.755 MB / 2.756 GB, free: 80.97 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.01721/7.399, allocations: 12.29 MB / 2.768 GB, free: 75.02 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00191/7.401, allocations: 1.428 MB / 2.77 GB, free: 74.98 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/7.402, allocations: 0.644 MB / 2.77 GB, free: 74.97 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006466/7.408, allocations: 4.151 MB / 2.774 GB, free: 73.08 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/7.408, allocations: 52.53 kB / 2.774 GB, free: 73.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001368/7.41, allocations: 229 kB / 2.774 GB, free: 72.96 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=119): time 3.958e-06/7.41, allocations: 0 / 2.774 GB, free: 72.96 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119): time 0.004153/7.414, allocations: 1.963 MB / 2.776 GB, free: 72.64 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/7.414, allocations: 68.64 kB / 2.776 GB, free: 72.57 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/7.418, allocations: 2.92 MB / 2.779 GB, free: 72.25 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/7.418, allocations: 63.2 kB / 2.779 GB, free: 72.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001226/7.419, allocations: 1.754 MB / 2.781 GB, free: 71.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/7.42, allocations: 419.1 kB / 2.781 GB, free: 71.49 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/7.42, allocations: 37.94 kB / 2.782 GB, free: 71.49 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001256/7.42, allocations: 380.5 kB / 2.782 GB, free: 71.19 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009765/7.421, allocations: 0.6552 MB / 2.783 GB, free: 71.18 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/7.422, allocations: 1.458 MB / 2.784 GB, free: 70.23 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/7.424, allocations: 0.8419 MB / 2.785 GB, free: 70.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/7.424, allocations: 5.969 kB / 2.785 GB, free: 70.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.004415/7.428, allocations: 2.671 MB / 2.787 GB, free: 69.88 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001961/7.43, allocations: 8.152 MB / 2.795 GB, free: 61.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/7.43, allocations: 17 kB / 2.795 GB, free: 61.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/7.432, allocations: 0.6343 MB / 2.796 GB, free: 61.47 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/7.433, allocations: 394.8 kB / 2.796 GB, free: 61.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/7.436, allocations: 5.108 MB / 2.801 GB, free: 57.31 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003313/7.44, allocations: 221.1 kB / 2.802 GB, free: 57.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/7.44, allocations: 182 kB / 2.802 GB, free: 57.3 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/7.44, allocations: 3.5 kB / 2.802 GB, free: 57.3 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005698/7.446, allocations: 2.745 MB / 2.804 GB, free: 57.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.553e-05/7.446, allocations: 20.91 kB / 2.804 GB, free: 57.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002606/7.448, allocations: 1.058 MB / 2.805 GB, free: 57.12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/7.45, allocations: 364.9 kB / 2.806 GB, free: 57.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/7.465, allocations: 14.02 MB / 2.82 GB, free: 48.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003726/7.468, allocations: 231.4 kB / 2.82 GB, free: 48.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/7.469, allocations: 151.9 kB / 2.82 GB, free: 48.95 MB / 0.9167 GB 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.0007105/7.47, allocations: 224.5 kB / 2.82 GB, free: 48.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/7.47, allocations: 360.3 kB / 2.82 GB, free: 48.63 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007283/7.478, allocations: 2.834 MB / 2.823 GB, free: 48.41 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/7.478, allocations: 16.62 kB / 2.823 GB, free: 48.41 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/7.478, allocations: 3.469 kB / 2.823 GB, free: 48.41 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/7.478, allocations: 7.688 kB / 2.823 GB, free: 48.41 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.01206/7.49, allocations: 4.921 MB / 2.828 GB, free: 47.84 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/7.49, allocations: 0 / 2.828 GB, free: 47.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009522/7.491, allocations: 210.1 kB / 2.828 GB, free: 47.84 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001587/7.492, allocations: 0.6366 MB / 2.829 GB, free: 47.76 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/7.493, allocations: 50.22 kB / 2.829 GB, free: 47.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/7.495, allocations: 4.98 MB / 2.834 GB, free: 43.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/7.495, allocations: 9.969 kB / 2.834 GB, free: 43.59 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/7.5, allocations: 2.558 MB / 2.836 GB, free: 42.93 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/7.502, allocations: 0.6169 MB / 2.837 GB, free: 42.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004132/7.502, allocations: 24.12 kB / 2.837 GB, free: 42.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/7.504, allocations: 207.2 kB / 2.837 GB, free: 42.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/7.505, allocations: 88.91 kB / 2.837 GB, free: 42.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001575/7.505, allocations: 84.95 kB / 2.837 GB, free: 42.62 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003485/7.508, allocations: 2.226 MB / 2.839 GB, free: 42.41 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.01e-07/7.508, allocations: 0 / 2.839 GB, free: 42.41 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008012/7.516, allocations: 1.984 MB / 2.841 GB, free: 42.16 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.003832/7.52, allocations: 2.348 MB / 2.844 GB, free: 41.48 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.006213/7.526, allocations: 3.794 MB / 2.847 GB, free: 40.94 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/7.526, allocations: 0 / 2.847 GB, free: 40.94 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/7.528, allocations: 0.8519 MB / 2.848 GB, free: 40.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00738/7.535, allocations: 1.697 MB / 2.85 GB, free: 40.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007696/7.543, allocations: 4.567 MB / 2.854 GB, free: 39.58 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/7.545, allocations: 2.322 MB / 2.857 GB, free: 38.78 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.005779/7.55, allocations: 1.275 MB / 2.858 GB, free: 38.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/7.551, allocations: 213 kB / 2.858 GB, free: 38.59 MB / 0.9167 GB Notification: Performance of SimCode: time 1.202e-06/7.551, allocations: 1.875 kB / 2.858 GB, free: 38.59 MB / 0.9167 GB Notification: Performance of Templates: time 0.1558/7.707, allocations: 103.3 MB / 2.959 GB, free: 15.99 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