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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005967/0.005968, allocations: 104.1 kB / 15.74 MB, free: 5.984 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.001433/0.001433, allocations: 197.8 kB / 16.68 MB, free: 5.91 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.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.557/2.557, allocations: 461.9 MB / 0.7347 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 1.054 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9378/0.9392, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05371/0.993, allocations: 51.5 MB / 1.258 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02638/1.019, allocations: 18.15 MB / 1.276 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002802/1.022, allocations: 83.5 kB / 1.276 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00533/1.028, allocations: 1.899 MB / 1.278 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007546/1.035, allocations: 2.706 MB / 1.28 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005565/1.041, allocations: 2.109 MB / 1.282 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02126/1.062, allocations: 14.07 MB / 1.296 GB, free: 2.871 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003444/1.065, allocations: 1.724 MB / 1.298 GB, free: 1.113 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004921/1.07, allocations: 1.985 MB / 1.3 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003056/1.073, allocations: 1.507 MB / 1.301 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0008593/1.074, allocations: 212 kB / 1.301 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00508/1.079, allocations: 1.903 MB / 1.303 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00138/1.081, allocations: 0.8996 MB / 1.304 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.003112/1.084, allocations: 1.384 MB / 1.305 GB, free: 9.211 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00822/1.092, allocations: 4.452 MB / 1.31 GB, free: 4.746 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/1.092, allocations: 0 / 1.31 GB, free: 4.746 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.893e-06/1.092, allocations: 0 / 1.31 GB, free: 4.746 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001239/1.092, allocations: 0 / 1.31 GB, free: 4.746 MB / 1.029 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.006619/1.099, allocations: 3.156 MB / 1.313 GB, free: 1.512 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.099, allocations: 8.031 kB / 1.313 GB, free: 1.504 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005395/1.104, allocations: 0.9331 MB / 1.314 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007907/1.112, allocations: 3.511 MB / 1.317 GB, free: 12.99 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.938e-05/1.113, allocations: 86 kB / 1.317 GB, free: 12.9 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/1.113, allocations: 116 kB / 1.317 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002926/1.116, allocations: 1.49 MB / 1.319 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.381e-05/1.116, allocations: 0 / 1.319 GB, free: 11.24 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/1.116, allocations: 47.94 kB / 1.319 GB, free: 11.19 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/1.116, allocations: 49.98 kB / 1.319 GB, free: 11.14 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/1.119, allocations: 1.319 MB / 1.32 GB, free: 9.824 MB / 1.045 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.01027/1.129, allocations: 6.942 MB / 1.327 GB, free: 2.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003137/1.133, allocations: 1.13 MB / 1.328 GB, free: 1.336 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001218/1.134, allocations: 0.4944 MB / 1.329 GB, free: 0.8398 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004321/1.138, allocations: 2.734 MB / 1.331 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/1.138, allocations: 39.12 kB / 1.331 GB, free: 13.84 MB / 1.061 GB Notification: Performance of pre-optimization done (n=60): time 2.544e-06/1.138, allocations: 0 / 1.331 GB, free: 13.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=60): time 0.005057/1.143, allocations: 1.724 MB / 1.333 GB, free: 12.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.143, allocations: 63.97 kB / 1.333 GB, free: 12.02 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003734/1.147, allocations: 2.579 MB / 1.336 GB, free: 9.422 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001497/1.147, allocations: 45.7 kB / 1.336 GB, free: 9.371 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008594/1.148, allocations: 1.009 MB / 1.337 GB, free: 8.352 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002503/1.148, allocations: 228.9 kB / 1.337 GB, free: 8.125 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000611/1.149, allocations: 439 kB / 1.337 GB, free: 7.691 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.149, allocations: 301.1 kB / 1.338 GB, free: 7.395 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00199/1.151, allocations: 1.149 MB / 1.339 GB, free: 6.242 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002362/1.153, allocations: 1.538 MB / 1.34 GB, free: 4.555 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004044/1.158, allocations: 2.465 MB / 1.343 GB, free: 1.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.337e-05/1.158, allocations: 7.984 kB / 1.343 GB, free: 1.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005355/1.163, allocations: 3.049 MB / 1.346 GB, free: 14.9 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.163, allocations: 8.625 kB / 1.346 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/1.163, allocations: 12 kB / 1.346 GB, free: 14.88 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005078/1.163, allocations: 148.8 kB / 1.346 GB, free: 14.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.165, allocations: 363.5 kB / 1.346 GB, free: 14.38 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005926/1.166, allocations: 0.6654 MB / 1.347 GB, free: 13.69 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.167, allocations: 214.1 kB / 1.347 GB, free: 13.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/1.167, allocations: 100 kB / 1.347 GB, free: 13.38 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00249/1.17, allocations: 1.508 MB / 1.349 GB, free: 11.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001966/1.172, allocations: 1.35 MB / 1.35 GB, free: 10.38 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003318/1.175, allocations: 2.086 MB / 1.352 GB, free: 8.18 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.049e-06/1.175, allocations: 0 / 1.352 GB, free: 8.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005135/1.18, allocations: 2.706 MB / 1.355 GB, free: 5.461 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.18, allocations: 8 kB / 1.355 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/1.18, allocations: 8 kB / 1.355 GB, free: 5.445 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009185/1.181, allocations: 216.8 kB / 1.355 GB, free: 5.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.183, allocations: 339.5 kB / 1.355 GB, free: 4.898 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005672/1.188, allocations: 3.507 MB / 1.358 GB, free: 1.184 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.19, allocations: 179.4 kB / 1.359 GB, free: 1.008 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/1.191, allocations: 83.97 kB / 1.359 GB, free: 0.9258 MB / 1.076 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.0003747/1.191, allocations: 252.4 kB / 1.359 GB, free: 0.6719 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003364/1.191, allocations: 232.9 kB / 1.359 GB, free: 452 kB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003898/1.195, allocations: 1.572 MB / 1.361 GB, free: 14.85 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.195, allocations: 11.98 kB / 1.361 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.195, allocations: 3.984 kB / 1.361 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/1.195, allocations: 7.984 kB / 1.361 GB, free: 14.83 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00595/1.201, allocations: 3.089 MB / 1.364 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/1.201, allocations: 0 / 1.364 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009338/1.202, allocations: 163.9 kB / 1.364 GB, free: 11.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003545/1.202, allocations: 108.7 kB / 1.364 GB, free: 11.39 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/1.203, allocations: 31.97 kB / 1.364 GB, free: 11.36 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004757/1.203, allocations: 0.6382 MB / 1.365 GB, free: 10.7 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.203, allocations: 7.875 kB / 1.365 GB, free: 10.69 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004791/1.208, allocations: 2.136 MB / 1.367 GB, free: 8.512 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009177/1.209, allocations: 437.7 kB / 1.367 GB, free: 8.062 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/1.209, allocations: 16 kB / 1.367 GB, free: 8.047 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/1.21, allocations: 71.92 kB / 1.367 GB, free: 7.977 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.932e-05/1.21, allocations: 60.36 kB / 1.367 GB, free: 7.918 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.883e-05/1.21, allocations: 39.97 kB / 1.367 GB, free: 7.879 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002602/1.213, allocations: 1.731 MB / 1.369 GB, free: 6.145 MB / 1.092 GB Notification: Performance of sort global known variables: time 4.11e-07/1.213, allocations: 0 / 1.369 GB, free: 6.145 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003002/1.216, allocations: 1.205 MB / 1.37 GB, free: 4.938 MB / 1.092 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.00149/1.218, allocations: 0.7079 MB / 1.371 GB, free: 4.227 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006557/1.224, allocations: 3.494 MB / 1.374 GB, free: 0.7266 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.224, allocations: 5 kB / 1.374 GB, free: 0.7227 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001436/1.226, allocations: 0.5773 MB / 1.375 GB, free: 144 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004446/1.23, allocations: 1.16 MB / 1.376 GB, free: 15.02 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/1.237, allocations: 4.075 MB / 1.38 GB, free: 10.9 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/1.238, allocations: 1.713 MB / 1.382 GB, free: 9.156 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002256/1.24, allocations: 0.6583 MB / 1.382 GB, free: 8.496 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005046/1.241, allocations: 191.3 kB / 1.383 GB, free: 8.309 MB / 1.107 GB Notification: Performance of SimCode: time 8.22e-07/1.241, allocations: 0 / 1.383 GB, free: 8.309 MB / 1.107 GB Notification: Performance of Templates: time 0.08624/1.327, allocations: 53.08 MB / 1.434 GB, free: 3.805 MB / 1.154 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