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.007222/0.007222, allocations: 99 kB / 15.73 MB, free: 6.008 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.001825/0.001825, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.337/2.337, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 0.9508 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9604/0.9617, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.06566/1.027, allocations: 50.73 MB / 1.137 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02784/1.055, allocations: 16.13 MB / 1.153 GB, free: 5.68 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004683/1.06, allocations: 71.81 kB / 1.153 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003883/1.064, allocations: 1.08 MB / 1.154 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008997/1.073, allocations: 2.543 MB / 1.157 GB, free: 3.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006183/1.079, allocations: 1.998 MB / 1.159 GB, free: 2.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008631/1.088, allocations: 4.438 MB / 1.163 GB, free: 396 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003148/1.091, allocations: 1.659 MB / 1.165 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005744/1.097, allocations: 1.839 MB / 1.167 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/1.1, allocations: 1.359 MB / 1.168 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0004529/1.1, allocations: 188.5 kB / 1.168 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004823/1.105, allocations: 1.568 MB / 1.17 GB, free: 13.56 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008553/1.106, allocations: 0.6007 MB / 1.17 GB, free: 13.17 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.00168/1.108, allocations: 1.036 MB / 1.171 GB, free: 12.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006765/1.115, allocations: 3.429 MB / 1.174 GB, free: 10.1 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/1.115, allocations: 0.9375 kB / 1.174 GB, free: 10.1 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/1.115, allocations: 0 / 1.174 GB, free: 10.1 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.327e-05/1.115, allocations: 0 / 1.174 GB, free: 10.1 MB / 0.92 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.004972/1.12, allocations: 2.468 MB / 1.177 GB, free: 8.242 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/1.12, allocations: 9.031 kB / 1.177 GB, free: 8.242 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/1.124, allocations: 0.7453 MB / 1.178 GB, free: 7.906 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004914/1.129, allocations: 1.941 MB / 1.18 GB, free: 6.496 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.382e-05/1.129, allocations: 83.22 kB / 1.18 GB, free: 6.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/1.13, allocations: 108 kB / 1.18 GB, free: 6.422 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/1.132, allocations: 1.293 MB / 1.181 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.353e-05/1.132, allocations: 5.562 kB / 1.181 GB, free: 5.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/1.132, allocations: 41.38 kB / 1.181 GB, free: 5.582 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/1.133, allocations: 35.88 kB / 1.181 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/1.135, allocations: 1.043 MB / 1.182 GB, free: 5.074 MB / 0.92 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.008558/1.144, allocations: 5.922 MB / 1.188 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/1.146, allocations: 0.8959 MB / 1.189 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/1.147, allocations: 397 kB / 1.189 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003626/1.151, allocations: 2.205 MB / 1.191 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.139e-05/1.151, allocations: 41.31 kB / 1.191 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 2.044e-06/1.151, allocations: 1.125 kB / 1.191 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.004181/1.155, allocations: 1.347 MB / 1.193 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/1.155, allocations: 57.94 kB / 1.193 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002458/1.158, allocations: 1.513 MB / 1.194 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.393e-05/1.158, allocations: 42.14 kB / 1.194 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006787/1.159, allocations: 0.7916 MB / 1.195 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/1.159, allocations: 215.7 kB / 1.195 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/1.159, allocations: 218.3 kB / 1.195 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002261/1.159, allocations: 338.8 kB / 1.196 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.161, allocations: 466.8 kB / 1.196 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001447/1.162, allocations: 0.7589 MB / 1.197 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/1.165, allocations: 1.176 MB / 1.198 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/1.165, allocations: 6.094 kB / 1.198 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003667/1.168, allocations: 1.461 MB / 1.199 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/1.168, allocations: 12.94 kB / 1.199 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.168, allocations: 7.719 kB / 1.199 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005366/1.169, allocations: 142 kB / 1.2 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/1.17, allocations: 246.2 kB / 1.2 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006666/1.171, allocations: 0.6597 MB / 1.201 GB, free: 7.031 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.172, allocations: 131.8 kB / 1.201 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/1.172, allocations: 60.22 kB / 1.201 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001664/1.174, allocations: 0.732 MB / 1.201 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001195/1.175, allocations: 0.6949 MB / 1.202 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002003/1.177, allocations: 1.053 MB / 1.203 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.591e-06/1.177, allocations: 2.75 kB / 1.203 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003311/1.181, allocations: 1.35 MB / 1.204 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.181, allocations: 12.62 kB / 1.204 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.181, allocations: 8.938 kB / 1.204 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009431/1.182, allocations: 212 kB / 1.205 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/1.183, allocations: 232.8 kB / 1.205 GB, free: 4.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006193/1.189, allocations: 3.501 MB / 1.208 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/1.19, allocations: 103.6 kB / 1.208 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.191, allocations: 55.97 kB / 1.208 GB, free: 1.039 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 (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.0004166/1.191, allocations: 240.4 kB / 1.209 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/1.191, allocations: 162.9 kB / 1.209 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003319/1.195, allocations: 1.298 MB / 1.21 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.195, allocations: 11.94 kB / 1.21 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.195, allocations: 0 / 1.21 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/1.195, allocations: 3.984 kB / 1.21 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005189/1.2, allocations: 2.47 MB / 1.213 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.2, allocations: 128 / 1.213 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/1.201, allocations: 155.7 kB / 1.213 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003601/1.201, allocations: 112.6 kB / 1.213 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/1.201, allocations: 31.98 kB / 1.213 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006442/1.202, allocations: 0.6343 MB / 1.213 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.202, allocations: 7.969 kB / 1.213 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004111/1.206, allocations: 1.718 MB / 1.215 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/1.207, allocations: 355.6 kB / 1.215 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001868/1.207, allocations: 19.98 kB / 1.215 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/1.208, allocations: 55.95 kB / 1.216 GB, free: 9.613 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/1.208, allocations: 44.44 kB / 1.216 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/1.208, allocations: 35.97 kB / 1.216 GB, free: 9.535 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.00186/1.21, allocations: 1.024 MB / 1.217 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/1.21, allocations: 0 / 1.217 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002752/1.213, allocations: 0.9079 MB / 1.217 GB, free: 7.609 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 (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.001591/1.214, allocations: 0.5568 MB / 1.218 GB, free: 7.051 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004545/1.219, allocations: 1.783 MB / 1.22 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.219, allocations: 8.062 kB / 1.22 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001262/1.22, allocations: 471.2 kB / 1.22 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/1.224, allocations: 0.7612 MB / 1.221 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/1.229, allocations: 2.873 MB / 1.224 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009843/1.23, allocations: 1.364 MB / 1.225 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001695/1.232, allocations: 425.1 kB / 1.226 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003529/1.232, allocations: 131.4 kB / 1.226 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of SimCode: time 1.312e-06/1.232, allocations: 0 / 1.226 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of Templates: time 0.06842/1.301, allocations: 36.47 MB / 1.261 GB, free: 11.15 MB / 0.9981 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