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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001426/0.001426, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001586/0.001586, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.24/2.24, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001323, allocations: 64.12 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2743, allocations: 140.4 MB / 0.9503 GB, free: 8.91 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05134/0.3257, allocations: 50.75 MB / 0.9998 GB, free: 5.973 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02522/0.3509, allocations: 16.11 MB / 1.016 GB, free: 5.824 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/0.3544, allocations: 71.62 kB / 1.016 GB, free: 5.754 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003593/0.358, allocations: 1.068 MB / 1.017 GB, free: 4.68 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0079/0.366, allocations: 2.438 MB / 1.019 GB, free: 2.234 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005436/0.3715, allocations: 2.001 MB / 1.021 GB, free: 252 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006946/0.3784, allocations: 4.41 MB / 1.025 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003396/0.3819, allocations: 1.646 MB / 1.027 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005272/0.3872, allocations: 1.821 MB / 1.029 GB, free: 8.316 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002786/0.39, allocations: 1.357 MB / 1.03 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0007784/0.3908, allocations: 188 kB / 1.03 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003954/0.3947, allocations: 1.552 MB / 1.032 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.3958, allocations: 0.6036 MB / 1.032 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002238/0.3981, allocations: 1.038 MB / 1.033 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005201/0.4033, allocations: 3.373 MB / 1.037 GB, free: 188 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4033, allocations: 4 kB / 1.037 GB, free: 184 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4033, allocations: 0 / 1.037 GB, free: 184 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.134e-05/0.4034, allocations: 0 / 1.037 GB, free: 184 kB / 0.8106 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.00417/0.4075, allocations: 2.388 MB / 1.039 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4076, allocations: 12.03 kB / 1.039 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004281/0.4119, allocations: 0.732 MB / 1.04 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004365/0.4163, allocations: 1.875 MB / 1.041 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.83e-05/0.4164, allocations: 94.34 kB / 1.042 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.4166, allocations: 104 kB / 1.042 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/0.4191, allocations: 1.287 MB / 1.043 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.4191, allocations: 0 / 1.043 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.4192, allocations: 36 kB / 1.043 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.741e-05/0.4193, allocations: 45.98 kB / 1.043 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.422, allocations: 1.042 MB / 1.044 GB, free: 8.41 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 preOpt removeSimpleEquations (simulation): time 0.008259/0.4302, allocations: 5.951 MB / 1.05 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.4327, allocations: 0.9005 MB / 1.051 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009439/0.4336, allocations: 400.2 kB / 1.051 GB, free: 0.7539 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003078/0.4367, allocations: 2.192 MB / 1.053 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4367, allocations: 35.12 kB / 1.053 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=57): time 3.226e-06/0.4368, allocations: 7.984 kB / 1.053 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=57): time 0.004013/0.4408, allocations: 1.346 MB / 1.055 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4408, allocations: 55.97 kB / 1.055 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.443, allocations: 1.507 MB / 1.056 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.4431, allocations: 41.69 kB / 1.056 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000615/0.4437, allocations: 0.7834 MB / 1.057 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00021/0.4439, allocations: 209.1 kB / 1.057 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/0.4442, allocations: 210.4 kB / 1.057 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4444, allocations: 338 kB / 1.058 GB, free: 9.754 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4455, allocations: 476.5 kB / 1.058 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.4468, allocations: 0.753 MB / 1.059 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.4494, allocations: 1.183 MB / 1.06 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.4494, allocations: 4 kB / 1.06 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003402/0.4528, allocations: 1.452 MB / 1.061 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.4529, allocations: 8 kB / 1.061 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/0.4529, allocations: 8 kB / 1.061 GB, free: 5.621 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005453/0.4534, allocations: 148.8 kB / 1.062 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.4545, allocations: 251.8 kB / 1.062 GB, free: 5.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006306/0.4552, allocations: 0.6576 MB / 1.062 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.4565, allocations: 127 kB / 1.063 GB, free: 4.418 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.4566, allocations: 63.91 kB / 1.063 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001579/0.4582, allocations: 0.7244 MB / 1.063 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/0.4594, allocations: 0.6905 MB / 1.064 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00205/0.4615, allocations: 1.058 MB / 1.065 GB, free: 1.629 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.907e-06/0.4615, allocations: 4 kB / 1.065 GB, free: 1.625 MB / 0.8419 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003456/0.465, allocations: 1.343 MB / 1.066 GB, free: 276 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.465, allocations: 11.94 kB / 1.066 GB, free: 264 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.465, allocations: 8 kB / 1.066 GB, free: 256 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009306/0.466, allocations: 213.3 kB / 1.067 GB, free: 40 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009443/0.4669, allocations: 227.7 kB / 1.067 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.4732, allocations: 3.504 MB / 1.07 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.4746, allocations: 103.4 kB / 1.07 GB, free: 12 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.4748, allocations: 55.98 kB / 1.07 GB, free: 11.95 MB / 0.8575 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 (100): * Single equations (assignments): 97 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004023/0.4752, allocations: 236 kB / 1.071 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/0.4757, allocations: 162 kB / 1.071 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.4793, allocations: 1.287 MB / 1.072 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/0.4793, allocations: 15.94 kB / 1.072 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4793, allocations: 7.938 kB / 1.072 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/0.4794, allocations: 3.984 kB / 1.072 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/0.4849, allocations: 2.478 MB / 1.074 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4849, allocations: 7.938 kB / 1.074 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007928/0.4857, allocations: 147.9 kB / 1.075 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003633/0.4861, allocations: 96.8 kB / 1.075 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.4862, allocations: 23.97 kB / 1.075 GB, free: 7.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005337/0.4867, allocations: 0.646 MB / 1.075 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4867, allocations: 0 / 1.075 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/0.4908, allocations: 1.721 MB / 1.077 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007574/0.4916, allocations: 342.6 kB / 1.077 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003281/0.492, allocations: 12.09 kB / 1.077 GB, free: 4.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009922/0.493, allocations: 55.95 kB / 1.077 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.4931, allocations: 56.47 kB / 1.077 GB, free: 4.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.982e-05/0.4932, allocations: 35.97 kB / 1.078 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001912/0.4951, allocations: 1.028 MB / 1.079 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4951, allocations: 0 / 1.079 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003005/0.4981, allocations: 0.8888 MB / 1.079 GB, free: 2.547 MB / 0.8575 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 (64): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001644/0.4997, allocations: 0.5503 MB / 1.08 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004986/0.5047, allocations: 1.837 MB / 1.082 GB, free: 152 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.5048, allocations: 0 / 1.082 GB, free: 152 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.4626/0.9674, allocations: 476.4 kB / 1.082 GB, free: 129.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/0.9711, allocations: 0.7487 MB / 1.083 GB, free: 129.7 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005548/0.9767, allocations: 2.968 MB / 1.086 GB, free: 128.6 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.9777, allocations: 1.359 MB / 1.087 GB, free: 127.9 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.9783, allocations: 141.4 kB / 1.087 GB, free: 127.8 MB / 0.8575 GB Notification: Performance of SimCode: time 9.82e-07/0.9784, allocations: 0 / 1.087 GB, free: 127.8 MB / 0.8575 GB Notification: Performance of Templates: time 0.06703/1.045, allocations: 38.23 MB / 1.125 GB, free: 114 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches