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.007108/0.007108, allocations: 104.3 kB / 15.74 MB, free: 6.059 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.001645/0.001645, allocations: 196.3 kB / 16.68 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.405/2.405, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.03 kB / 0.9508 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8664/0.8677, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.0535/0.9212, allocations: 50.75 MB / 1.137 GB, free: 1.176 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0283/0.9496, allocations: 16.12 MB / 1.153 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004465/0.9541, allocations: 75.5 kB / 1.153 GB, free: 5.648 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003663/0.9578, allocations: 1.088 MB / 1.154 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008775/0.9666, allocations: 2.539 MB / 1.157 GB, free: 3.559 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006625/0.9732, allocations: 2.002 MB / 1.159 GB, free: 2.484 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009812/0.9831, allocations: 4.43 MB / 1.163 GB, free: 384 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004232/0.9873, allocations: 1.651 MB / 1.165 GB, free: 15.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005966/0.9933, allocations: 1.851 MB / 1.167 GB, free: 14.71 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003738/0.997, allocations: 1.355 MB / 1.168 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0009425/0.998, allocations: 187.7 kB / 1.168 GB, free: 14.07 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005443/1.003, allocations: 1.564 MB / 1.17 GB, free: 13.56 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001426/1.005, allocations: 0.6032 MB / 1.17 GB, free: 13.15 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002732/1.008, allocations: 1.035 MB / 1.171 GB, free: 12.43 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007551/1.015, allocations: 3.428 MB / 1.174 GB, free: 10.09 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.015, allocations: 1.156 kB / 1.174 GB, free: 10.09 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.754e-06/1.015, allocations: 0 / 1.174 GB, free: 10.09 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001107/1.015, allocations: 0 / 1.174 GB, free: 10.09 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.006786/1.022, allocations: 2.393 MB / 1.177 GB, free: 8.305 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/1.022, allocations: 8.781 kB / 1.177 GB, free: 8.305 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/1.027, allocations: 0.7293 MB / 1.178 GB, free: 7.984 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004689/1.031, allocations: 1.927 MB / 1.179 GB, free: 6.586 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/1.032, allocations: 83.34 kB / 1.18 GB, free: 6.547 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/1.032, allocations: 112.3 kB / 1.18 GB, free: 6.508 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/1.034, allocations: 1.289 MB / 1.181 GB, free: 5.707 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/1.034, allocations: 5.375 kB / 1.181 GB, free: 5.703 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/1.034, allocations: 41.34 kB / 1.181 GB, free: 5.672 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.212e-05/1.034, allocations: 35.78 kB / 1.181 GB, free: 5.668 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/1.037, allocations: 1.044 MB / 1.182 GB, free: 5.164 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.008128/1.045, allocations: 5.908 MB / 1.188 GB, free: 8 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002363/1.047, allocations: 0.8967 MB / 1.189 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009442/1.048, allocations: 393.8 kB / 1.189 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003242/1.052, allocations: 2.205 MB / 1.191 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/1.052, allocations: 41.41 kB / 1.191 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 1.984e-06/1.052, allocations: 0 / 1.191 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.003902/1.056, allocations: 1.339 MB / 1.192 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/1.056, allocations: 61.31 kB / 1.193 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/1.058, allocations: 1.504 MB / 1.194 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.491e-05/1.058, allocations: 50.66 kB / 1.194 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007059/1.059, allocations: 0.7829 MB / 1.195 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002273/1.059, allocations: 201.8 kB / 1.195 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003668/1.059, allocations: 211.4 kB / 1.195 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.059, allocations: 337.6 kB / 1.196 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/1.061, allocations: 472.6 kB / 1.196 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001392/1.062, allocations: 0.7588 MB / 1.197 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/1.064, allocations: 1.176 MB / 1.198 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/1.064, allocations: 2.281 kB / 1.198 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003605/1.068, allocations: 1.451 MB / 1.199 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/1.068, allocations: 16.39 kB / 1.199 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/1.068, allocations: 8.062 kB / 1.199 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005745/1.069, allocations: 145.6 kB / 1.199 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/1.07, allocations: 246.9 kB / 1.2 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006125/1.07, allocations: 0.6637 MB / 1.2 GB, free: 7.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/1.072, allocations: 131.1 kB / 1.2 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/1.072, allocations: 60.59 kB / 1.201 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001644/1.073, allocations: 0.7249 MB / 1.201 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001198/1.075, allocations: 0.6987 MB / 1.202 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002004/1.077, allocations: 1.05 MB / 1.203 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.88e-06/1.077, allocations: 2.219 kB / 1.203 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003173/1.08, allocations: 1.342 MB / 1.204 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.08, allocations: 14.31 kB / 1.204 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.08, allocations: 8.844 kB / 1.204 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009403/1.081, allocations: 215.6 kB / 1.204 GB, free: 4.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009324/1.082, allocations: 233.9 kB / 1.205 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/1.088, allocations: 3.502 MB / 1.208 GB, free: 1.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.089, allocations: 103.3 kB / 1.208 GB, free: 1.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/1.089, allocations: 51.98 kB / 1.208 GB, free: 1.195 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.0003918/1.09, allocations: 240.5 kB / 1.209 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002617/1.09, allocations: 158 kB / 1.209 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003219/1.093, allocations: 1.287 MB / 1.21 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/1.093, allocations: 15.94 kB / 1.21 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/1.093, allocations: 0 / 1.21 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/1.093, allocations: 3.984 kB / 1.21 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/1.098, allocations: 2.478 MB / 1.212 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/1.098, allocations: 0 / 1.212 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00079/1.099, allocations: 147.9 kB / 1.212 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/1.099, allocations: 112.6 kB / 1.213 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/1.099, allocations: 27.97 kB / 1.213 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004538/1.1, allocations: 0.6344 MB / 1.213 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.1, allocations: 4 kB / 1.213 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/1.103, allocations: 1.724 MB / 1.215 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005865/1.104, allocations: 338.7 kB / 1.215 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/1.104, allocations: 20 kB / 1.215 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008211/1.105, allocations: 59.88 kB / 1.215 GB, free: 9.793 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/1.105, allocations: 44.5 kB / 1.215 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.968e-05/1.105, allocations: 35.97 kB / 1.215 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001484/1.106, allocations: 1.024 MB / 1.216 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/1.106, allocations: 0 / 1.216 GB, free: 8.699 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002513/1.109, allocations: 0.8965 MB / 1.217 GB, free: 7.801 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.001218/1.11, allocations: 0.5529 MB / 1.218 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004075/1.114, allocations: 1.778 MB / 1.22 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.114, allocations: 0 / 1.22 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/1.115, allocations: 480.1 kB / 1.22 GB, free: 4.992 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002685/1.118, allocations: 0.7634 MB / 1.221 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/1.123, allocations: 2.828 MB / 1.224 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000952/1.124, allocations: 1.364 MB / 1.225 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001358/1.125, allocations: 421.2 kB / 1.225 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/1.126, allocations: 127.4 kB / 1.225 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/1.126, allocations: 0 / 1.225 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.06055/1.186, allocations: 36.47 MB / 1.261 GB, free: 11.4 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