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.391/1.391, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001292/0.001292, allocations: 179.6 kB / 326.5 MB, free: 2.25 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.55/1.55, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009154/0.0009155, allocations: 96.69 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003207, allocations: 8.812 kB / 0.7962 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.198, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8434/1.041, allocations: 429 MB / 1.319 GB, free: 3.746 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/1.042, allocations: 92.3 kB / 1.319 GB, free: 3.699 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.224/3.266, allocations: 0.6682 GB / 1.987 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.933e-06/3.266, allocations: 0 / 1.987 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003974/3.266, allocations: 56.11 kB / 1.987 GB, free: 101.7 MB / 0.8855 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.008547/3.275, allocations: 2.533 MB / 1.99 GB, free: 99.12 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/3.275, allocations: 16.03 kB / 1.99 GB, free: 99.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003483/3.279, allocations: 0.5408 MB / 1.99 GB, free: 98.56 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02997/3.309, allocations: 13.83 MB / 2.004 GB, free: 84.55 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/3.309, allocations: 86 kB / 2.004 GB, free: 84.47 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005605/3.309, allocations: 112 kB / 2.004 GB, free: 84.36 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/3.313, allocations: 1.311 MB / 2.005 GB, free: 82.97 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/3.313, allocations: 3.938 kB / 2.005 GB, free: 82.97 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/3.313, allocations: 44 kB / 2.005 GB, free: 82.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/3.313, allocations: 31.94 kB / 2.005 GB, free: 82.89 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/3.316, allocations: 0.9485 MB / 2.006 GB, free: 81.95 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.009488/3.325, allocations: 5.647 MB / 2.012 GB, free: 75.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/3.327, allocations: 0.8855 MB / 2.013 GB, free: 75.02 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003727/3.331, allocations: 2.228 MB / 2.015 GB, free: 72.59 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/3.331, allocations: 43.12 kB / 2.015 GB, free: 72.54 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008893/3.332, allocations: 127.2 kB / 2.015 GB, free: 72.41 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=62): time 4.478e-06/3.332, allocations: 0 / 2.015 GB, free: 72.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=62): time 0.005778/3.338, allocations: 1.77 MB / 2.017 GB, free: 70.59 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/3.338, allocations: 222.2 kB / 2.017 GB, free: 70.32 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/3.34, allocations: 1.341 MB / 2.018 GB, free: 68.99 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/3.34, allocations: 49.69 kB / 2.018 GB, free: 68.93 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/3.341, allocations: 0.8154 MB / 2.019 GB, free: 68.11 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/3.341, allocations: 220.7 kB / 2.019 GB, free: 67.89 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/3.341, allocations: 20 kB / 2.019 GB, free: 67.87 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.043e-05/3.341, allocations: 345.9 kB / 2.02 GB, free: 67.53 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007766/3.342, allocations: 373.8 kB / 2.02 GB, free: 67.16 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/3.343, allocations: 0.7525 MB / 2.021 GB, free: 66.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008933/3.344, allocations: 464.8 kB / 2.021 GB, free: 65.78 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/3.344, allocations: 4 kB / 2.021 GB, free: 65.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002496/3.347, allocations: 1.351 MB / 2.023 GB, free: 64.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005834/3.347, allocations: 3.352 MB / 2.026 GB, free: 60.78 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/3.347, allocations: 8 kB / 2.026 GB, free: 60.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000925/3.348, allocations: 281.4 kB / 2.026 GB, free: 60.49 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/3.349, allocations: 195.7 kB / 2.026 GB, free: 60.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/3.35, allocations: 1.452 MB / 2.028 GB, free: 58.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/3.352, allocations: 83.98 kB / 2.028 GB, free: 58.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/3.352, allocations: 71.95 kB / 2.028 GB, free: 58.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/3.352, allocations: 7.938 kB / 2.028 GB, free: 58.64 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002189/3.354, allocations: 1.21 MB / 2.029 GB, free: 57.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/3.354, allocations: 19.86 kB / 2.029 GB, free: 57.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009036/3.355, allocations: 333.7 kB / 2.029 GB, free: 57.07 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/3.356, allocations: 183.7 kB / 2.03 GB, free: 56.89 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/3.361, allocations: 4.006 MB / 2.034 GB, free: 52.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/3.362, allocations: 83.91 kB / 2.034 GB, free: 52.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/3.363, allocations: 63.97 kB / 2.034 GB, free: 52.52 MB / 0.8855 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 () * Number of clocked 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.001098/3.364, allocations: 0.4946 MB / 2.034 GB, free: 52.01 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/3.364, allocations: 165.9 kB / 2.034 GB, free: 51.85 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003539/3.368, allocations: 1.459 MB / 2.036 GB, free: 50.38 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/3.368, allocations: 8 kB / 2.036 GB, free: 50.37 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/3.368, allocations: 0 / 2.036 GB, free: 50.37 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/3.368, allocations: 7.922 kB / 2.036 GB, free: 50.36 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004727/3.372, allocations: 2.634 MB / 2.038 GB, free: 47.65 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/3.372, allocations: 0 / 2.038 GB, free: 47.65 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/3.373, allocations: 112 kB / 2.038 GB, free: 47.54 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007509/3.374, allocations: 270.5 kB / 2.039 GB, free: 47.27 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/3.374, allocations: 27.98 kB / 2.039 GB, free: 47.25 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009342/3.375, allocations: 1.374 MB / 2.04 GB, free: 45.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/3.375, allocations: 4.031 kB / 2.04 GB, free: 45.82 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003377/3.378, allocations: 1.837 MB / 2.042 GB, free: 43.93 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007201/3.379, allocations: 338.7 kB / 2.042 GB, free: 43.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001684/3.379, allocations: 23.89 kB / 2.042 GB, free: 43.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008435/3.38, allocations: 83.86 kB / 2.042 GB, free: 43.47 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/3.38, allocations: 48.58 kB / 2.042 GB, free: 43.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.146e-05/3.38, allocations: 39.97 kB / 2.042 GB, free: 43.38 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001346/3.381, allocations: 1.033 MB / 2.043 GB, free: 42.36 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2e-07/3.381, allocations: 0 / 2.043 GB, free: 42.36 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003415/3.385, allocations: 1.072 MB / 2.044 GB, free: 41.29 MB / 0.8855 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 () * Number of clocked 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.002051/3.387, allocations: 1.341 MB / 2.046 GB, free: 39.97 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003996/3.391, allocations: 1.901 MB / 2.048 GB, free: 38.04 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/3.391, allocations: 4.062 kB / 2.048 GB, free: 38.04 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009245/3.392, allocations: 475.6 kB / 2.048 GB, free: 37.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/3.395, allocations: 0.7355 MB / 2.049 GB, free: 36.85 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004381/3.399, allocations: 3.419 MB / 2.052 GB, free: 33.38 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006951/3.4, allocations: 1.423 MB / 2.054 GB, free: 31.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001677/3.402, allocations: 402 kB / 2.054 GB, free: 31.53 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002648/3.402, allocations: 127.4 kB / 2.054 GB, free: 31.41 MB / 0.8855 GB Notification: Performance of SimCode: time 9.52e-07/3.402, allocations: 0 / 2.054 GB, free: 31.41 MB / 0.8855 GB Notification: Performance of Templates: time 0.5555/3.957, allocations: 43.72 MB / 2.097 GB, free: 150.4 MB / 0.8855 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