Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_9_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_9_Buildings.Fluid.Movers.Examples.PumpsSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009312/0.0009309, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003469, allocations: 8 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6634/0.6638, allocations: 142.4 MB / 0.9544 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04298/0.7068, allocations: 46.7 MB / 1 GB, free: 0.7031 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.727, allocations: 15.11 MB / 1.015 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.7297, allocations: 67.56 kB / 1.015 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.7318, allocations: 0.6948 MB / 1.016 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00534/0.7371, allocations: 1.941 MB / 1.017 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.7411, allocations: 1.471 MB / 1.019 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006398/0.7475, allocations: 4.96 MB / 1.024 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002309/0.7498, allocations: 1.242 MB / 1.025 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00312/0.7529, allocations: 1.447 MB / 1.026 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.7548, allocations: 1.229 MB / 1.028 GB, free: 4.469 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.7551, allocations: 76 kB / 1.028 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.7578, allocations: 1.08 MB / 1.029 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0006/0.7584, allocations: 470.2 kB / 1.029 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006809/0.7591, allocations: 400.6 kB / 1.029 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.7623, allocations: 2.486 MB / 1.032 GB, free: 15.96 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.7623, allocations: 0 / 1.032 GB, free: 15.96 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7623, allocations: 0 / 1.032 GB, free: 15.96 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.109e-05/0.7623, allocations: 0 / 1.032 GB, free: 15.96 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003731/0.7661, allocations: 2.069 MB / 1.034 GB, free: 13.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.7661, allocations: 12.03 kB / 1.034 GB, free: 13.82 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004189/0.7703, allocations: 0.7858 MB / 1.035 GB, free: 13.04 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005136/0.7755, allocations: 1.871 MB / 1.037 GB, free: 11.11 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.7756, allocations: 82.28 kB / 1.037 GB, free: 11.04 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002315/0.7759, allocations: 112 kB / 1.037 GB, free: 10.93 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002569/0.7784, allocations: 1.289 MB / 1.038 GB, free: 9.594 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.7785, allocations: 0 / 1.038 GB, free: 9.594 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.7786, allocations: 44 kB / 1.038 GB, free: 9.551 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.092e-05/0.7786, allocations: 34 kB / 1.038 GB, free: 9.52 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002464/0.7811, allocations: 1.062 MB / 1.039 GB, free: 8.453 MB / 0.795 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.008029/0.7892, allocations: 5.764 MB / 1.045 GB, free: 2.316 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.7915, allocations: 0.9268 MB / 1.046 GB, free: 1.363 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009238/0.7924, allocations: 414.3 kB / 1.046 GB, free: 0.957 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003148/0.7956, allocations: 2.243 MB / 1.048 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.7956, allocations: 39.12 kB / 1.048 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000581/0.7962, allocations: 111.2 kB / 1.048 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=59): time 3.476e-06/0.7962, allocations: 0 / 1.048 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59): time 0.003795/0.8, allocations: 1.389 MB / 1.05 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.8001, allocations: 59.92 kB / 1.05 GB, free: 12.86 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/0.8021, allocations: 1.472 MB / 1.051 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.8022, allocations: 49.69 kB / 1.051 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006217/0.8028, allocations: 0.7796 MB / 1.052 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/0.803, allocations: 216.9 kB / 1.052 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.8031, allocations: 16 kB / 1.052 GB, free: 10.31 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.8032, allocations: 337.9 kB / 1.053 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009175/0.8041, allocations: 401.8 kB / 1.053 GB, free: 9.582 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.8053, allocations: 0.6984 MB / 1.054 GB, free: 8.754 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.8064, allocations: 470.9 kB / 1.054 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.8064, allocations: 4 kB / 1.054 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002826/0.8092, allocations: 1.296 MB / 1.055 GB, free: 6.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.8095, allocations: 338.3 kB / 1.056 GB, free: 6.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.8095, allocations: 11.95 kB / 1.056 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004393/0.8099, allocations: 100.8 kB / 1.056 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.811, allocations: 251.6 kB / 1.056 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005995/0.8116, allocations: 0.6615 MB / 1.057 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.8128, allocations: 104 kB / 1.057 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.813, allocations: 59.97 kB / 1.057 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.813, allocations: 4 kB / 1.057 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002727/0.8157, allocations: 1.195 MB / 1.058 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/0.8158, allocations: 11.94 kB / 1.058 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000898/0.8167, allocations: 220.9 kB / 1.058 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009391/0.8176, allocations: 235.7 kB / 1.058 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.8235, allocations: 3.224 MB / 1.062 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001312/0.8248, allocations: 91.98 kB / 1.062 GB, free: 144 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.825, allocations: 55.97 kB / 1.062 GB, free: 88 kB / 0.8106 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 (102): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001004/0.826, allocations: 492.7 kB / 1.062 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004175/0.8264, allocations: 157.9 kB / 1.062 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003283/0.8297, allocations: 1.322 MB / 1.064 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.8297, allocations: 8 kB / 1.064 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.8297, allocations: 0 / 1.064 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.8298, allocations: 7.938 kB / 1.064 GB, free: 14.09 MB / 0.8262 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.005241/0.835, allocations: 2.53 MB / 1.066 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.835, allocations: 4.125 kB / 1.066 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007718/0.8358, allocations: 151.8 kB / 1.066 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003477/0.8362, allocations: 104.7 kB / 1.066 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.8363, allocations: 31.97 kB / 1.066 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004879/0.8368, allocations: 0.6381 MB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.8368, allocations: 4.031 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.8404, allocations: 1.734 MB / 1.069 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/0.8411, allocations: 334.7 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.8414, allocations: 16 kB / 1.069 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001028/0.8424, allocations: 99.7 kB / 1.069 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.408e-05/0.8425, allocations: 48.48 kB / 1.069 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/0.8426, allocations: 39.97 kB / 1.069 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001572/0.8442, allocations: 0.9887 MB / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.71e-07/0.8442, allocations: 4 kB / 1.07 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002954/0.8472, allocations: 0.8967 MB / 1.071 GB, free: 6.336 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[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 (66): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001282/0.8485, allocations: 0.5151 MB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003891/0.8524, allocations: 1.744 MB / 1.073 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.8524, allocations: 4.875 kB / 1.073 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.8535, allocations: 479.3 kB / 1.074 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.8565, allocations: 0.7175 MB / 1.074 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.8621, allocations: 3.41 MB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.8632, allocations: 1.364 MB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001865/0.865, allocations: 425.2 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003786/0.8654, allocations: 139.4 kB / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of SimCode: time 8.12e-07/0.8654, allocations: 0 / 1.08 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.06226/0.9277, allocations: 33.9 MB / 1.113 GB, free: 11.99 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches