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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001588/0.001588, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001887, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 71.77 kB / 0.912 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3569, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05146/0.4084, allocations: 51.49 MB / 1.118 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02705/0.4355, allocations: 18.17 MB / 1.136 GB, free: 4.547 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003521/0.4391, allocations: 79.56 kB / 1.136 GB, free: 4.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01612/0.4552, allocations: 9.732 MB / 1.146 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00825/0.4635, allocations: 2.628 MB / 1.148 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005367/0.4689, allocations: 2.056 MB / 1.15 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01977/0.4886, allocations: 13.84 MB / 1.164 GB, free: 8.184 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/0.492, allocations: 1.674 MB / 1.165 GB, free: 6.473 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005233/0.4973, allocations: 1.881 MB / 1.167 GB, free: 4.59 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00396/0.5013, allocations: 1.443 MB / 1.169 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007781/0.5021, allocations: 203.9 kB / 1.169 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006584/0.5087, allocations: 1.872 MB / 1.171 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.5105, allocations: 0.8723 MB / 1.172 GB, free: 196 kB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002904/0.5134, allocations: 1.364 MB / 1.173 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.5242, allocations: 4.335 MB / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.5242, allocations: 0 / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5242, allocations: 0 / 1.177 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.689e-05/0.5243, allocations: 0 / 1.177 GB, free: 10.47 MB / 0.9356 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.008868/0.5332, allocations: 3.109 MB / 1.18 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.559e-05/0.5333, allocations: 19.97 kB / 1.18 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008827/0.5422, allocations: 0.9253 MB / 1.181 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/0.5539, allocations: 3.344 MB / 1.184 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.5542, allocations: 105.8 kB / 1.185 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000444/0.5546, allocations: 120 kB / 1.185 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004745/0.5594, allocations: 1.482 MB / 1.186 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.5595, allocations: 0 / 1.186 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.5597, allocations: 44 kB / 1.186 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.022e-05/0.5597, allocations: 42 kB / 1.186 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003343/0.5631, allocations: 1.327 MB / 1.187 GB, free: 15.75 MB / 0.9512 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.01021/0.5733, allocations: 6.973 MB / 1.194 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/0.5769, allocations: 1.193 MB / 1.195 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.5782, allocations: 0.5055 MB / 1.196 GB, free: 6.664 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003824/0.582, allocations: 2.711 MB / 1.199 GB, free: 3.742 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5821, allocations: 39.12 kB / 1.199 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.5821, allocations: 0 / 1.199 GB, free: 3.695 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.004826/0.5869, allocations: 1.735 MB / 1.2 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.587, allocations: 59.97 kB / 1.2 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/0.5902, allocations: 2.552 MB / 1.203 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.5904, allocations: 49.7 kB / 1.203 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000873/0.5913, allocations: 1.021 MB / 1.204 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.5915, allocations: 220.9 kB / 1.204 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006017/0.5921, allocations: 443.1 kB / 1.205 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/0.5922, allocations: 301.1 kB / 1.205 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001942/0.5942, allocations: 1.145 MB / 1.206 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.5966, allocations: 1.553 MB / 1.207 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/0.6007, allocations: 2.469 MB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.6007, allocations: 4 kB / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005393/0.6061, allocations: 3.053 MB / 1.213 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.6062, allocations: 11.94 kB / 1.213 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.6062, allocations: 8 kB / 1.213 GB, free: 4.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005387/0.6068, allocations: 152.8 kB / 1.213 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.6082, allocations: 363.6 kB / 1.213 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005996/0.6088, allocations: 0.6732 MB / 1.214 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.6106, allocations: 215.6 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.6108, allocations: 99.95 kB / 1.214 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00253/0.6133, allocations: 1.507 MB / 1.216 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002013/0.6153, allocations: 1.366 MB / 1.217 GB, free: 196 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003457/0.6188, allocations: 2.098 MB / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/0.6188, allocations: 0 / 1.219 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005172/0.624, allocations: 2.706 MB / 1.222 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.624, allocations: 16.94 kB / 1.222 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.624, allocations: 8 kB / 1.222 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008938/0.6249, allocations: 216.6 kB / 1.222 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/0.6263, allocations: 343.5 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005696/0.632, allocations: 3.512 MB / 1.226 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.6339, allocations: 183.6 kB / 1.226 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.634, allocations: 75.97 kB / 1.226 GB, free: 6.715 MB / 0.9825 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.0003814/0.6344, allocations: 257.2 kB / 1.226 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/0.6347, allocations: 233 kB / 1.227 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.6387, allocations: 1.579 MB / 1.228 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.6387, allocations: 12 kB / 1.228 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6388, allocations: 0 / 1.228 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.6388, allocations: 3.984 kB / 1.228 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005792/0.6446, allocations: 3.085 MB / 1.231 GB, free: 1.453 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6446, allocations: 8.031 kB / 1.231 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009353/0.6455, allocations: 167.7 kB / 1.231 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003334/0.6459, allocations: 104.8 kB / 1.231 GB, free: 1.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/0.646, allocations: 27.97 kB / 1.231 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004622/0.6464, allocations: 0.6382 MB / 1.232 GB, free: 496 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.6465, allocations: 7.969 kB / 1.232 GB, free: 488 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004755/0.6512, allocations: 2.156 MB / 1.234 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008374/0.6521, allocations: 421.8 kB / 1.235 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.6523, allocations: 24 kB / 1.235 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.6535, allocations: 67.92 kB / 1.235 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6536, allocations: 56.38 kB / 1.235 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/0.6537, allocations: 47.95 kB / 1.235 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002461/0.6561, allocations: 1.699 MB / 1.236 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6562, allocations: 0 / 1.236 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00313/0.6593, allocations: 1.205 MB / 1.238 GB, free: 10.74 MB / 0.9981 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.001554/0.6609, allocations: 0.7241 MB / 1.238 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006922/0.6678, allocations: 3.564 MB / 1.242 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6678, allocations: 0 / 1.242 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/0.6693, allocations: 0.5822 MB / 1.242 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/0.6739, allocations: 1.155 MB / 1.243 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00682/0.6808, allocations: 4.118 MB / 1.247 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5418/1.223, allocations: 1.711 MB / 1.249 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003583/1.226, allocations: 0.6633 MB / 1.25 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006394/1.227, allocations: 189.5 kB / 1.25 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.152e-06/1.227, allocations: 0 / 1.25 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.1021/1.329, allocations: 51.88 MB / 1.301 GB, free: 153 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches