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.0009174/0.0009176, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008673/0.008673, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.423/1.423, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.438/2.438, allocations: 390.9 MB / 0.6663 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003893/0.0003894, allocations: 8 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7549/0.7554, allocations: 142.4 MB / 0.955 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.04999/0.8054, allocations: 49.41 MB / 1.003 GB, free: 13.8 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02464/0.8301, allocations: 15.99 MB / 1.019 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003217/0.8333, allocations: 59.62 kB / 1.019 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003295/0.8367, allocations: 0.9035 MB / 1.02 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.007942/0.8446, allocations: 2.244 MB / 1.022 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004939/0.8496, allocations: 1.79 MB / 1.024 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007958/0.8576, allocations: 5.831 MB / 1.029 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.8602, allocations: 1.377 MB / 1.031 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.8637, allocations: 1.505 MB / 1.032 GB, free: 24 kB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.8662, allocations: 1.31 MB / 1.034 GB, free: 14.71 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002788/0.8665, allocations: 72 kB / 1.034 GB, free: 14.64 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.8697, allocations: 1.431 MB / 1.035 GB, free: 13.2 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006022/0.8703, allocations: 0.4902 MB / 1.036 GB, free: 12.71 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.8715, allocations: 0.9223 MB / 1.036 GB, free: 11.78 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004371/0.8759, allocations: 3.247 MB / 1.04 GB, free: 8.52 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8759, allocations: 0 / 1.04 GB, free: 8.52 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8759, allocations: 0 / 1.04 GB, free: 8.52 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.18e-05/0.876, allocations: 0 / 1.04 GB, free: 8.52 MB / 0.795 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.00392/0.8799, allocations: 2.036 MB / 1.042 GB, free: 6.426 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.88, allocations: 8.031 kB / 1.042 GB, free: 6.418 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/0.8844, allocations: 0.7906 MB / 1.042 GB, free: 5.625 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/0.8892, allocations: 1.941 MB / 1.044 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.8893, allocations: 90.41 kB / 1.044 GB, free: 3.547 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.8896, allocations: 112 kB / 1.044 GB, free: 3.438 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.8924, allocations: 1.293 MB / 1.046 GB, free: 2.105 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.8924, allocations: 0 / 1.046 GB, free: 2.105 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.8925, allocations: 43.98 kB / 1.046 GB, free: 2.062 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.71e-05/0.8926, allocations: 38 kB / 1.046 GB, free: 2.023 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.8954, allocations: 1.062 MB / 1.047 GB, free: 0.9609 MB / 0.795 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.008848/0.9042, allocations: 5.772 MB / 1.052 GB, free: 10.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.9068, allocations: 0.9214 MB / 1.053 GB, free: 9.871 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.9078, allocations: 422.3 kB / 1.054 GB, free: 9.457 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003353/0.9112, allocations: 2.235 MB / 1.056 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.9112, allocations: 43.12 kB / 1.056 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005554/0.9118, allocations: 107.3 kB / 1.056 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=59): time 2.855e-06/0.9118, allocations: 0 / 1.056 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of matching and sorting (n=59): time 0.00442/0.9162, allocations: 1.401 MB / 1.057 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.567e-05/0.9163, allocations: 59.97 kB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002144/0.9185, allocations: 1.48 MB / 1.059 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.9186, allocations: 41.7 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007013/0.9193, allocations: 0.7874 MB / 1.06 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/0.9195, allocations: 208.9 kB / 1.06 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.9197, allocations: 85.67 kB / 1.06 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.9198, allocations: 334 kB / 1.06 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.921, allocations: 481.7 kB / 1.061 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.9224, allocations: 0.7726 MB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/0.9249, allocations: 1.214 MB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.925, allocations: 4 kB / 1.063 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003272/0.9282, allocations: 1.484 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.9285, allocations: 342 kB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.9285, allocations: 8 kB / 1.065 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/0.929, allocations: 144.8 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.9301, allocations: 247.6 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005774/0.9307, allocations: 0.6732 MB / 1.066 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.932, allocations: 95.92 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.9321, allocations: 59.97 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.9321, allocations: 4.094 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002985/0.9351, allocations: 1.215 MB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.9352, allocations: 12.03 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009531/0.9361, allocations: 212.7 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009658/0.9371, allocations: 235.6 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005902/0.943, allocations: 3.22 MB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.9442, allocations: 99.92 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.9444, allocations: 47.98 kB / 1.071 GB, free: 7.246 MB / 0.8262 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 (102): * Single equations (assignments): 99 * 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.0008925/0.9453, allocations: 492.7 kB / 1.071 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002333/0.9455, allocations: 157.9 kB / 1.071 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/0.9488, allocations: 1.337 MB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.9489, allocations: 15.98 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.9489, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.9489, allocations: 3.984 kB / 1.073 GB, free: 5.23 MB / 0.8262 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 postOpt removeSimpleEquations (simulation): time 0.004996/0.9539, allocations: 2.53 MB / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9539, allocations: 0 / 1.075 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/0.9547, allocations: 155.9 kB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003449/0.9551, allocations: 100.7 kB / 1.075 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.013e-05/0.9552, allocations: 23.98 kB / 1.075 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004658/0.9556, allocations: 0.646 MB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.387e-05/0.9557, allocations: 7.969 kB / 1.076 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.9598, allocations: 1.738 MB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/0.9604, allocations: 334.7 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.9606, allocations: 23.94 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/0.9619, allocations: 91.91 kB / 1.078 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/0.9621, allocations: 48.44 kB / 1.078 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.9622, allocations: 39.97 kB / 1.078 GB, free: 15.35 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002107/0.9643, allocations: 1.004 MB / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9643, allocations: 0 / 1.079 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003124/0.9675, allocations: 0.9043 MB / 1.08 GB, free: 13.45 MB / 0.8419 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 (66): * Single equations (assignments): 59 * 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.001311/0.9688, allocations: 0.5235 MB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0045/0.9733, allocations: 1.822 MB / 1.082 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.9733, allocations: 0.875 kB / 1.082 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.9745, allocations: 483.2 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/0.9782, allocations: 0.7208 MB / 1.083 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.9836, allocations: 3.508 MB / 1.087 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009769/0.9846, allocations: 1.368 MB / 1.088 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001834/0.9864, allocations: 417.3 kB / 1.089 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.9868, allocations: 131.4 kB / 1.089 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of SimCode: time 5.21e-07/0.9868, allocations: 0 / 1.089 GB, free: 4.414 MB / 0.8419 GB Notification: Performance of Templates: time 0.0572/1.044, allocations: 34.71 MB / 1.123 GB, free: 2.113 MB / 0.8731 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