Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001415/0.001415, allocations: 108.9 kB / 16.27 MB, free: 6.004 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.001509/0.001509, allocations: 187.4 kB / 17.2 MB, free: 5.617 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.304/1.304, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.483/2.483, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001256, allocations: 65.41 kB / 0.9088 GB, free: 14.15 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3027, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.6189/0.9216, allocations: 51.49 MB / 1.114 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02995/0.9516, allocations: 18.16 MB / 1.132 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004194/0.9558, allocations: 74.5 kB / 1.132 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01872/0.9745, allocations: 9.735 MB / 1.142 GB, free: 8.078 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009171/0.9837, allocations: 2.617 MB / 1.144 GB, free: 6.574 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006386/0.9901, allocations: 2.065 MB / 1.146 GB, free: 5.457 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.02201/1.012, allocations: 13.85 MB / 1.16 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00339/1.016, allocations: 1.668 MB / 1.162 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005682/1.021, allocations: 1.88 MB / 1.163 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/1.025, allocations: 1.438 MB / 1.165 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0006994/1.025, allocations: 201.2 kB / 1.165 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0054/1.031, allocations: 1.877 MB / 1.167 GB, free: 11.59 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001262/1.032, allocations: 0.8734 MB / 1.168 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002557/1.034, allocations: 1.359 MB / 1.169 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.007993/1.042, allocations: 4.333 MB / 1.173 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/1.043, allocations: 0 / 1.173 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.416e-06/1.043, allocations: 1.906 kB / 1.173 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001049/1.043, allocations: 7.938 kB / 1.173 GB, free: 7.082 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.007271/1.05, allocations: 3.117 MB / 1.176 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.05, allocations: 11.73 kB / 1.176 GB, free: 4.742 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005425/1.055, allocations: 0.9254 MB / 1.177 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007644/1.063, allocations: 3.351 MB / 1.18 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/1.063, allocations: 97.58 kB / 1.181 GB, free: 1.906 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003799/1.064, allocations: 115.6 kB / 1.181 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003646/1.067, allocations: 1.502 MB / 1.182 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/1.067, allocations: 3.984 kB / 1.182 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/1.068, allocations: 44 kB / 1.182 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/1.068, allocations: 37.98 kB / 1.182 GB, free: 0.5312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/1.071, allocations: 1.327 MB / 1.183 GB, free: 15.2 MB / 0.9044 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.01202/1.083, allocations: 6.973 MB / 1.19 GB, free: 7.844 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/1.087, allocations: 1.19 MB / 1.191 GB, free: 6.625 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/1.088, allocations: 0.4962 MB / 1.192 GB, free: 6.129 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005675/1.094, allocations: 2.723 MB / 1.195 GB, free: 3.195 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/1.094, allocations: 39.12 kB / 1.195 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 2.504e-06/1.094, allocations: 0 / 1.195 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.005403/1.099, allocations: 1.735 MB / 1.196 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/1.099, allocations: 59.97 kB / 1.196 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004999/1.104, allocations: 2.552 MB / 1.199 GB, free: 14.73 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.000171/1.105, allocations: 41.7 kB / 1.199 GB, free: 14.69 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001355/1.106, allocations: 1.024 MB / 1.2 GB, free: 13.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003906/1.106, allocations: 224.9 kB / 1.2 GB, free: 13.43 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009413/1.107, allocations: 443 kB / 1.201 GB, free: 13 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.107, allocations: 301.1 kB / 1.201 GB, free: 12.7 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/1.11, allocations: 1.149 MB / 1.202 GB, free: 11.55 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002742/1.112, allocations: 1.546 MB / 1.203 GB, free: 9.855 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004127/1.117, allocations: 2.473 MB / 1.206 GB, free: 7.273 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.117, allocations: 3.938 kB / 1.206 GB, free: 7.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005623/1.122, allocations: 3.053 MB / 1.209 GB, free: 4.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/1.122, allocations: 13.5 kB / 1.209 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.122, allocations: 8.625 kB / 1.209 GB, free: 4.184 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005423/1.123, allocations: 152.8 kB / 1.209 GB, free: 4.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.124, allocations: 359.5 kB / 1.209 GB, free: 3.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006607/1.125, allocations: 0.6694 MB / 1.21 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/1.127, allocations: 226.9 kB / 1.21 GB, free: 2.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/1.127, allocations: 91.97 kB / 1.21 GB, free: 2.672 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002831/1.13, allocations: 1.507 MB / 1.212 GB, free: 1.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002166/1.132, allocations: 1.362 MB / 1.213 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003571/1.136, allocations: 2.098 MB / 1.215 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.867e-06/1.136, allocations: 4 kB / 1.215 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005577/1.142, allocations: 2.709 MB / 1.218 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/1.142, allocations: 8 kB / 1.218 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/1.142, allocations: 8 kB / 1.218 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009696/1.143, allocations: 213.3 kB / 1.218 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.144, allocations: 347.5 kB / 1.218 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00612/1.15, allocations: 3.498 MB / 1.222 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002499/1.153, allocations: 184.2 kB / 1.222 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.153, allocations: 79.97 kB / 1.222 GB, free: 6.184 MB / 0.9356 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 (167): * Single equations (assignments): 162 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.000537/1.154, allocations: 251.9 kB / 1.222 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007158/1.154, allocations: 232.8 kB / 1.223 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/1.159, allocations: 1.591 MB / 1.224 GB, free: 4.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.159, allocations: 8 kB / 1.224 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/1.159, allocations: 0 / 1.224 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/1.159, allocations: 3.984 kB / 1.224 GB, free: 4.082 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007231/1.166, allocations: 3.096 MB / 1.227 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.166, allocations: 0 / 1.227 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009474/1.167, allocations: 171.9 kB / 1.227 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003629/1.167, allocations: 108.7 kB / 1.227 GB, free: 0.625 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/1.168, allocations: 31.97 kB / 1.227 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005504/1.168, allocations: 0.642 MB / 1.228 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.168, allocations: 0 / 1.228 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005128/1.173, allocations: 2.152 MB / 1.23 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/1.174, allocations: 433.6 kB / 1.231 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006434/1.175, allocations: 16 kB / 1.231 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.177, allocations: 71.92 kB / 1.231 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.177, allocations: 60.38 kB / 1.231 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.177, allocations: 47.95 kB / 1.231 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003499/1.18, allocations: 1.695 MB / 1.232 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.81e-07/1.18, allocations: 0 / 1.232 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004759/1.185, allocations: 1.209 MB / 1.234 GB, free: 10.19 MB / 0.9512 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 (67): * Single equations (assignments): 60 * 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.002157/1.187, allocations: 0.7173 MB / 1.234 GB, free: 9.469 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.00762/1.195, allocations: 3.565 MB / 1.238 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/1.195, allocations: 256 / 1.238 GB, free: 5.902 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001568/1.197, allocations: 0.5812 MB / 1.238 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005769/1.202, allocations: 1.147 MB / 1.239 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008784/1.211, allocations: 4.205 MB / 1.244 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/1.213, allocations: 1.693 MB / 1.245 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008376/1.214, allocations: 211.2 kB / 1.245 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of SimCode: time 7.61e-07/1.214, allocations: 0 / 1.245 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of Templates: time 0.08042/1.294, allocations: 53.08 MB / 1.297 GB, free: 9.211 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches