Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00116/0.00116, 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.001363/0.001363, allocations: 193.2 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 63.91 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7289/0.7305, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.0573/0.7878, allocations: 51.5 MB / 1.068 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02634/0.8142, allocations: 18.15 MB / 1.085 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003772/0.818, allocations: 71.62 kB / 1.085 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01698/0.835, allocations: 9.744 MB / 1.095 GB, free: 2.789 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008032/0.8431, allocations: 2.628 MB / 1.097 GB, free: 152 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005471/0.8485, allocations: 2.051 MB / 1.099 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01964/0.8682, allocations: 13.84 MB / 1.113 GB, free: 244 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003074/0.8713, allocations: 1.67 MB / 1.115 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004524/0.8758, allocations: 1.877 MB / 1.116 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.8784, allocations: 1.443 MB / 1.118 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005033/0.879, allocations: 200 kB / 1.118 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/0.8832, allocations: 1.883 MB / 1.12 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001099/0.8843, allocations: 0.8723 MB / 1.121 GB, free: 8.254 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001836/0.8862, allocations: 1.364 MB / 1.122 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006354/0.8925, allocations: 4.327 MB / 1.126 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.8926, allocations: 0 / 1.126 GB, free: 2.543 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8926, allocations: 7.938 kB / 1.126 GB, free: 2.535 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.484e-05/0.8926, allocations: 0 / 1.126 GB, free: 2.535 MB / 0.8731 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.005567/0.8982, allocations: 3.122 MB / 1.129 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.8983, allocations: 8.031 kB / 1.129 GB, free: 15.33 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005676/0.9039, allocations: 0.9253 MB / 1.13 GB, free: 14.4 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007458/0.9114, allocations: 3.348 MB / 1.134 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.9116, allocations: 97.92 kB / 1.134 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002834/0.9119, allocations: 119.8 kB / 1.134 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.9149, allocations: 1.49 MB / 1.135 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.9149, allocations: 0 / 1.135 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.915, allocations: 40 kB / 1.135 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.9151, allocations: 41.98 kB / 1.135 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003254/0.9183, allocations: 1.331 MB / 1.137 GB, free: 7.809 MB / 0.8887 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.009581/0.9279, allocations: 6.962 MB / 1.143 GB, free: 472 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003565/0.9315, allocations: 1.197 MB / 1.145 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.9327, allocations: 0.5022 MB / 1.145 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003547/0.9363, allocations: 2.719 MB / 1.148 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.9363, allocations: 39.12 kB / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=60): time 3.236e-06/0.9364, allocations: 0 / 1.148 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of matching and sorting (n=60): time 0.004902/0.9413, allocations: 1.735 MB / 1.149 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.9413, allocations: 55.97 kB / 1.149 GB, free: 9.922 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.9444, allocations: 2.556 MB / 1.152 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.84e-05/0.9445, allocations: 41.7 kB / 1.152 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008306/0.9453, allocations: 1.024 MB / 1.153 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.9455, allocations: 228.9 kB / 1.153 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005542/0.9461, allocations: 439.1 kB / 1.154 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.9462, allocations: 301.1 kB / 1.154 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.9481, allocations: 1.149 MB / 1.155 GB, free: 4.156 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002209/0.9503, allocations: 1.546 MB / 1.157 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/0.9542, allocations: 2.473 MB / 1.159 GB, free: 15.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/0.9542, allocations: 8 kB / 1.159 GB, free: 15.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.00517/0.9594, allocations: 3.053 MB / 1.162 GB, free: 12.81 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.9595, allocations: 8.625 kB / 1.162 GB, free: 12.8 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.9595, allocations: 12 kB / 1.162 GB, free: 12.79 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.96, allocations: 152.7 kB / 1.162 GB, free: 12.64 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.9615, allocations: 355.5 kB / 1.162 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005862/0.9621, allocations: 0.6732 MB / 1.163 GB, free: 11.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/0.9638, allocations: 215.5 kB / 1.163 GB, free: 11.38 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000162/0.9639, allocations: 99.91 kB / 1.163 GB, free: 11.28 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002521/0.9665, allocations: 1.509 MB / 1.165 GB, free: 9.77 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002002/0.9685, allocations: 1.358 MB / 1.166 GB, free: 8.262 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00346/0.972, allocations: 2.094 MB / 1.168 GB, free: 6.055 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.605e-06/0.972, allocations: 4 kB / 1.168 GB, free: 6.051 MB / 0.92 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.0053/0.9773, allocations: 2.717 MB / 1.171 GB, free: 3.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.9773, allocations: 9.094 kB / 1.171 GB, free: 3.312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.9773, allocations: 8 kB / 1.171 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009551/0.9783, allocations: 213.3 kB / 1.171 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.9797, allocations: 347.5 kB / 1.171 GB, free: 2.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005903/0.9856, allocations: 3.498 MB / 1.175 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/0.9875, allocations: 176.3 kB / 1.175 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.9877, allocations: 83.97 kB / 1.175 GB, free: 14.79 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.0003645/0.988, allocations: 259.8 kB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004459/0.9885, allocations: 232.9 kB / 1.176 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004184/0.9927, allocations: 1.587 MB / 1.177 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.9927, allocations: 8 kB / 1.177 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.9927, allocations: 0 / 1.177 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.9927, allocations: 3.984 kB / 1.177 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006098/0.9988, allocations: 3.093 MB / 1.18 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.9988, allocations: 0 / 1.18 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.9999, allocations: 171.9 kB / 1.18 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003379/1, allocations: 104.7 kB / 1.18 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.186e-05/1, allocations: 31.97 kB / 1.18 GB, free: 9.199 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004551/1.001, allocations: 0.6382 MB / 1.181 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.001, allocations: 3.984 kB / 1.181 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/1.006, allocations: 2.16 MB / 1.183 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/1.007, allocations: 429.6 kB / 1.184 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/1.007, allocations: 16 kB / 1.184 GB, free: 5.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/1.008, allocations: 75.86 kB / 1.184 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.008, allocations: 56.44 kB / 1.184 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.992e-05/1.008, allocations: 47.95 kB / 1.184 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002664/1.011, allocations: 1.695 MB / 1.185 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.8e-07/1.011, allocations: 0 / 1.185 GB, free: 4.008 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003093/1.014, allocations: 1.205 MB / 1.187 GB, free: 2.801 MB / 0.9356 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.001739/1.016, allocations: 0.7153 MB / 1.187 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007052/1.023, allocations: 3.565 MB / 1.191 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/1.023, allocations: 4.125 kB / 1.191 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.025, allocations: 0.5695 MB / 1.191 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004655/1.029, allocations: 1.158 MB / 1.192 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00704/1.036, allocations: 4.133 MB / 1.197 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001567/1.038, allocations: 1.713 MB / 1.198 GB, free: 6.891 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00282/1.041, allocations: 0.6622 MB / 1.199 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005993/1.041, allocations: 187.3 kB / 1.199 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/1.041, allocations: 4 kB / 1.199 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of Templates: time 0.08623/1.128, allocations: 51.89 MB / 1.25 GB, free: 2.766 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches