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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001057/0.001057, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001082/0.001082, allocations: 199.4 kB / 17.3 MB, free: 5.516 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.444/2.444, allocations: 442.6 MB / 0.7165 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 68.25 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2761, allocations: 153 MB / 1.027 GB, free: 2.012 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.4838/0.7599, allocations: 51.5 MB / 1.077 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0247/0.7847, allocations: 18.16 MB / 1.095 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003704/0.7884, allocations: 79.31 kB / 1.095 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01858/0.807, allocations: 9.733 MB / 1.104 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007807/0.8149, allocations: 2.619 MB / 1.107 GB, free: 9.777 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.005664/0.8205, allocations: 2.078 MB / 1.109 GB, free: 8.848 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.02365/0.8442, allocations: 13.85 MB / 1.122 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003416/0.8476, allocations: 1.68 MB / 1.124 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005254/0.8529, allocations: 1.882 MB / 1.126 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002882/0.8558, allocations: 1.457 MB / 1.127 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0005803/0.8564, allocations: 199.9 kB / 1.128 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/0.8614, allocations: 1.888 MB / 1.129 GB, free: 2.336 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.8627, allocations: 0.8661 MB / 1.13 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002178/0.8648, allocations: 1.361 MB / 1.132 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00803/0.8729, allocations: 4.369 MB / 1.136 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8729, allocations: 0 / 1.136 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8729, allocations: 4 kB / 1.136 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.891e-05/0.873, allocations: 0 / 1.136 GB, free: 14.75 MB / 0.8575 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.007458/0.8805, allocations: 3.125 MB / 1.139 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8806, allocations: 9.312 kB / 1.139 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005948/0.8865, allocations: 0.9216 MB / 1.14 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008861/0.8954, allocations: 3.404 MB / 1.143 GB, free: 9.707 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.8956, allocations: 93.03 kB / 1.143 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.8959, allocations: 117.3 kB / 1.143 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.899, allocations: 1.479 MB / 1.145 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.899, allocations: 5.312 kB / 1.145 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.8991, allocations: 41.62 kB / 1.145 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/0.8992, allocations: 37.66 kB / 1.145 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003243/0.9024, allocations: 1.324 MB / 1.146 GB, free: 8.066 MB / 0.8575 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.0104/0.9129, allocations: 6.925 MB / 1.153 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/0.9159, allocations: 1.126 MB / 1.154 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.917, allocations: 0.4986 MB / 1.154 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004484/0.9215, allocations: 2.719 MB / 1.157 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.9216, allocations: 41.92 kB / 1.157 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=60): time 4.849e-06/0.9216, allocations: 4 kB / 1.157 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of matching and sorting (n=60): time 0.005043/0.9266, allocations: 1.715 MB / 1.159 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.9267, allocations: 57.47 kB / 1.159 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003675/0.9304, allocations: 2.555 MB / 1.161 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.9306, allocations: 42.36 kB / 1.161 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008364/0.9315, allocations: 1.02 MB / 1.162 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.9317, allocations: 226.9 kB / 1.163 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/0.9323, allocations: 433.9 kB / 1.163 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.9324, allocations: 303.6 kB / 1.163 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.9344, allocations: 1.146 MB / 1.164 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002269/0.9367, allocations: 1.542 MB / 1.166 GB, free: 8.523 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/0.9406, allocations: 2.457 MB / 1.168 GB, free: 5.957 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.9406, allocations: 4 kB / 1.168 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.00545/0.9461, allocations: 3.06 MB / 1.171 GB, free: 2.879 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.9461, allocations: 8 kB / 1.171 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.9461, allocations: 8 kB / 1.171 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/0.9467, allocations: 149.4 kB / 1.172 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.9483, allocations: 363.5 kB / 1.172 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005872/0.9489, allocations: 0.667 MB / 1.173 GB, free: 1.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002155/0.951, allocations: 222.7 kB / 1.173 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.9512, allocations: 95.95 kB / 1.173 GB, free: 1.355 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002624/0.9539, allocations: 1.499 MB / 1.174 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001988/0.9559, allocations: 1.346 MB / 1.176 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003348/0.9592, allocations: 2.098 MB / 1.178 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.1e-05/0.9593, allocations: 4 kB / 1.178 GB, free: 12.15 MB / 0.8887 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005218/0.9645, allocations: 2.695 MB / 1.18 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.9645, allocations: 16.55 kB / 1.18 GB, free: 9.426 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9645, allocations: 12 kB / 1.18 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009638/0.9655, allocations: 200.7 kB / 1.18 GB, free: 9.215 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.9669, allocations: 347.5 kB / 1.181 GB, free: 8.875 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005809/0.9727, allocations: 3.519 MB / 1.184 GB, free: 5.141 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002213/0.975, allocations: 163 kB / 1.184 GB, free: 4.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002479/0.9752, allocations: 79.97 kB / 1.184 GB, free: 4.902 MB / 0.8887 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.0004151/0.9757, allocations: 258.4 kB / 1.185 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000557/0.9762, allocations: 232.9 kB / 1.185 GB, free: 4.414 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/0.9802, allocations: 1.582 MB / 1.186 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.9803, allocations: 11.98 kB / 1.187 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.9803, allocations: 0 / 1.187 GB, free: 2.824 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.9803, allocations: 3.984 kB / 1.187 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006593/0.9869, allocations: 3.078 MB / 1.19 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.9869, allocations: 0 / 1.19 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009691/0.9879, allocations: 159.9 kB / 1.19 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003706/0.9883, allocations: 112.6 kB / 1.19 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.643e-05/0.9884, allocations: 27.97 kB / 1.19 GB, free: 15.39 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004762/0.9889, allocations: 0.6489 MB / 1.19 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.9889, allocations: 4 kB / 1.19 GB, free: 14.71 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/0.9937, allocations: 2.132 MB / 1.193 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001295/0.9951, allocations: 433.7 kB / 1.193 GB, free: 12.1 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005829/0.9957, allocations: 19.92 kB / 1.193 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/0.9972, allocations: 67.94 kB / 1.193 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.9973, allocations: 52.48 kB / 1.193 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.9974, allocations: 43.91 kB / 1.193 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002989/1, allocations: 1.699 MB / 1.195 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.994e-06/1, allocations: 0 / 1.195 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003823/1.004, allocations: 1.209 MB / 1.196 GB, free: 9.004 MB / 0.9044 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.001901/1.006, allocations: 0.7217 MB / 1.197 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006658/1.013, allocations: 3.503 MB / 1.2 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.013, allocations: 0 / 1.2 GB, free: 4.816 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001498/1.014, allocations: 0.5738 MB / 1.201 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/1.02, allocations: 1.162 MB / 1.202 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/1.027, allocations: 4.056 MB / 1.206 GB, free: 15.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/1.028, allocations: 1.709 MB / 1.207 GB, free: 13.27 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002608/1.031, allocations: 0.6622 MB / 1.208 GB, free: 12.61 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005861/1.032, allocations: 191.3 kB / 1.208 GB, free: 12.43 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/1.032, allocations: 0 / 1.208 GB, free: 12.43 MB / 0.92 GB Notification: Performance of Templates: time 0.08164/1.113, allocations: 51.85 MB / 1.259 GB, free: 9.195 MB / 0.9669 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 -s gbode -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