Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.469/1.469, allocations: 249.3 MB / 261.8 MB, free: 5.867 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.00108/0.00108, allocations: 182.5 kB / 321.3 MB, free: 14.64 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.619/1.619, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008586/0.0008585, allocations: 90.78 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.64e-05/4.644e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2309, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.515/1.746, allocations: 429 MB / 1.311 GB, free: 310.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.747, allocations: 90.77 kB / 1.311 GB, free: 310.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.704/4.451, allocations: 0.6661 GB / 1.977 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.665e-06/4.451, allocations: 3.75 kB / 1.977 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006222/4.452, allocations: 50.75 kB / 1.977 GB, free: 154.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.008545/4.46, allocations: 1.937 MB / 1.979 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/4.461, allocations: 12.25 kB / 1.979 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004311/4.465, allocations: 0.5407 MB / 1.979 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03633/4.501, allocations: 13.72 MB / 1.993 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/4.501, allocations: 86.06 kB / 1.993 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006589/4.502, allocations: 120.8 kB / 1.993 GB, free: 152.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003743/4.506, allocations: 1.247 MB / 1.994 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/4.506, allocations: 3.969 kB / 1.994 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002481/4.506, allocations: 46.88 kB / 1.994 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/4.506, allocations: 27.34 kB / 1.994 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/4.508, allocations: 0.8426 MB / 1.995 GB, free: 152.2 MB / 0.8698 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.01095/4.519, allocations: 5.644 MB / 2.001 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/4.521, allocations: 0.7936 MB / 2.001 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/4.521, allocations: 339.4 kB / 2.002 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004002/4.525, allocations: 2.24 MB / 2.004 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/4.525, allocations: 38.78 kB / 2.004 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001062/4.526, allocations: 137.8 kB / 2.004 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 5.561e-06/4.526, allocations: 0 / 2.004 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.002747/4.529, allocations: 0.9476 MB / 2.005 GB, free: 148 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.192e-05/4.529, allocations: 216.7 kB / 2.005 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002826/4.532, allocations: 1.329 MB / 2.007 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/4.532, allocations: 49.64 kB / 2.007 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000608/4.533, allocations: 0.8133 MB / 2.007 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/4.533, allocations: 222.8 kB / 2.008 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/4.533, allocations: 16.59 kB / 2.008 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/4.533, allocations: 341.8 kB / 2.008 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/4.534, allocations: 327 kB / 2.008 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/4.534, allocations: 0.7092 MB / 2.009 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/4.535, allocations: 424.5 kB / 2.009 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/4.535, allocations: 3.688 kB / 2.009 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002272/4.537, allocations: 1.241 MB / 2.011 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009684/4.538, allocations: 3.355 MB / 2.014 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.71e-05/4.538, allocations: 14.97 kB / 2.014 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000843/4.539, allocations: 252.1 kB / 2.014 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/4.54, allocations: 201.4 kB / 2.014 GB, free: 142.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/4.541, allocations: 1.431 MB / 2.016 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/4.543, allocations: 92.12 kB / 2.016 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/4.543, allocations: 71.64 kB / 2.016 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/4.543, allocations: 3.781 kB / 2.016 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002088/4.545, allocations: 1.124 MB / 2.017 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/4.545, allocations: 13.25 kB / 2.017 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008694/4.546, allocations: 321.3 kB / 2.017 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/4.547, allocations: 184.3 kB / 2.017 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006249/4.553, allocations: 3.9 MB / 2.021 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/4.555, allocations: 93.16 kB / 2.021 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/4.555, allocations: 62.78 kB / 2.021 GB, free: 139.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 88 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.000497/4.555, allocations: 172.8 kB / 2.022 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006341/4.556, allocations: 163.6 kB / 2.022 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/4.56, allocations: 1.36 MB / 2.023 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.896e-05/4.56, allocations: 7.156 kB / 2.023 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/4.56, allocations: 0 / 2.023 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/4.56, allocations: 7.203 kB / 2.023 GB, free: 139 MB / 0.8698 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.006233/4.566, allocations: 2.543 MB / 2.026 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/4.566, allocations: 3.906 kB / 2.026 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/4.567, allocations: 112.8 kB / 2.026 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006954/4.567, allocations: 242.6 kB / 2.026 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/4.568, allocations: 27.77 kB / 2.026 GB, free: 138.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009796/4.569, allocations: 1.344 MB / 2.027 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.569, allocations: 3.188 kB / 2.027 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/4.572, allocations: 1.71 MB / 2.029 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/4.573, allocations: 335.5 kB / 2.029 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000595/4.573, allocations: 20.53 kB / 2.029 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001317/4.575, allocations: 84.11 kB / 2.029 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/4.575, allocations: 57.94 kB / 2.029 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-05/4.575, allocations: 40.8 kB / 2.029 GB, free: 137 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002286/4.577, allocations: 1.019 MB / 2.03 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/4.577, allocations: 0 / 2.03 GB, free: 136.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005572/4.583, allocations: 1.065 MB / 2.031 GB, free: 136.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003467/4.586, allocations: 1.35 MB / 2.033 GB, free: 136.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004272/4.591, allocations: 1.832 MB / 2.035 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/4.591, allocations: 0 / 2.035 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008751/4.592, allocations: 435.7 kB / 2.035 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/4.596, allocations: 0.723 MB / 2.036 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005595/4.601, allocations: 2.178 MB / 2.038 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/4.603, allocations: 1.422 MB / 2.039 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003106/4.606, allocations: 0.5725 MB / 2.04 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/4.606, allocations: 109.8 kB / 2.04 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/4.606, allocations: 0 / 2.04 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.08173/4.688, allocations: 48.71 MB / 2.087 GB, free: 131.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches