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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 169.1 kB / 498.1 MB, free: 5.793 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.739/1.739, allocations: 223.2 MB / 0.7948 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 98.66 kB / 0.9346 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003853/0.0003853, allocations: 10.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2987, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.104/1.403, allocations: 435.1 MB / 1.648 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.403, allocations: 93.39 kB / 1.648 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.882/4.285, allocations: 0.6881 GB / 2.336 GB, free: 237 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.095e-06/4.285, allocations: 3.562 kB / 2.336 GB, free: 237 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002993/4.286, allocations: 48.72 kB / 2.336 GB, free: 237 MB / 1.167 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.01029/4.296, allocations: 2.465 MB / 2.338 GB, free: 236.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/4.296, allocations: 9.875 kB / 2.338 GB, free: 236.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005364/4.301, allocations: 0.7213 MB / 2.339 GB, free: 236.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03547/4.337, allocations: 14.4 MB / 2.353 GB, free: 235.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/4.337, allocations: 84.19 kB / 2.353 GB, free: 235.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004363/4.338, allocations: 128.5 kB / 2.353 GB, free: 235.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/4.34, allocations: 1.29 MB / 2.355 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.496e-05/4.341, allocations: 3.625 kB / 2.355 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/4.341, allocations: 41.66 kB / 2.355 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.465e-05/4.341, allocations: 38.66 kB / 2.355 GB, free: 235.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/4.343, allocations: 1.048 MB / 2.356 GB, free: 235.3 MB / 1.167 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.009804/4.353, allocations: 5.798 MB / 2.361 GB, free: 232.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/4.355, allocations: 0.9293 MB / 2.362 GB, free: 232.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004317/4.36, allocations: 2.376 MB / 2.365 GB, free: 231.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/4.36, allocations: 38.12 kB / 2.365 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009322/4.361, allocations: 140.5 kB / 2.365 GB, free: 231.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=65): time 3.226e-06/4.361, allocations: 0 / 2.365 GB, free: 231.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=65): time 0.006631/4.367, allocations: 1.917 MB / 2.367 GB, free: 231 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.652e-05/4.367, allocations: 62.91 kB / 2.367 GB, free: 230.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002119/4.369, allocations: 1.312 MB / 2.368 GB, free: 230.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002043/4.37, allocations: 40.48 kB / 2.368 GB, free: 230.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/4.37, allocations: 0.7898 MB / 2.369 GB, free: 230.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/4.37, allocations: 228.2 kB / 2.369 GB, free: 230.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.412e-05/4.371, allocations: 19.11 kB / 2.369 GB, free: 230.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.187e-05/4.371, allocations: 342.2 kB / 2.369 GB, free: 230.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009151/4.372, allocations: 388.2 kB / 2.37 GB, free: 230.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009921/4.373, allocations: 0.7407 MB / 2.37 GB, free: 229.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009617/4.373, allocations: 467.4 kB / 2.371 GB, free: 229.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/4.374, allocations: 3.031 kB / 2.371 GB, free: 229.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003092/4.377, allocations: 1.363 MB / 2.372 GB, free: 229.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006521/4.377, allocations: 3.343 MB / 2.375 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/4.377, allocations: 6 kB / 2.375 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009175/4.378, allocations: 272.7 kB / 2.376 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/4.379, allocations: 235.8 kB / 2.376 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/4.381, allocations: 1.45 MB / 2.377 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/4.382, allocations: 105.1 kB / 2.377 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/4.383, allocations: 79.58 kB / 2.378 GB, free: 225 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/4.383, allocations: 3.906 kB / 2.378 GB, free: 225 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002706/4.385, allocations: 1.224 MB / 2.379 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/4.385, allocations: 14.95 kB / 2.379 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009951/4.386, allocations: 332 kB / 2.379 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008862/4.387, allocations: 226.9 kB / 2.379 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006023/4.393, allocations: 4.006 MB / 2.383 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/4.395, allocations: 102.8 kB / 2.383 GB, free: 222.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/4.395, allocations: 56.55 kB / 2.383 GB, free: 222.7 MB / 1.167 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 (94): * Single equations (assignments): 90 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001161/4.397, allocations: 0.4891 MB / 2.384 GB, free: 222.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/4.397, allocations: 163.2 kB / 2.384 GB, free: 222.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004255/4.401, allocations: 1.552 MB / 2.386 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/4.401, allocations: 18.31 kB / 2.386 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/4.401, allocations: 0 / 2.386 GB, free: 222.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/4.401, allocations: 3.891 kB / 2.386 GB, free: 222.3 MB / 1.167 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.006677/4.408, allocations: 2.825 MB / 2.388 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/4.408, allocations: 3.719 kB / 2.388 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007064/4.409, allocations: 139.9 kB / 2.388 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008019/4.41, allocations: 267.6 kB / 2.389 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-05/4.41, allocations: 26.17 kB / 2.389 GB, free: 221.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/4.411, allocations: 1.373 MB / 2.39 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/4.411, allocations: 0 / 2.39 GB, free: 220.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004937/4.416, allocations: 1.988 MB / 2.392 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/4.417, allocations: 340.3 kB / 2.392 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/4.418, allocations: 20.22 kB / 2.392 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/4.419, allocations: 99.64 kB / 2.392 GB, free: 220.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/4.419, allocations: 54.66 kB / 2.393 GB, free: 220.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/4.419, allocations: 37.66 kB / 2.393 GB, free: 220.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00249/4.421, allocations: 1.016 MB / 2.394 GB, free: 220.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.71e-07/4.421, allocations: 0 / 2.394 GB, free: 220.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004791/4.426, allocations: 1.044 MB / 2.395 GB, free: 220 MB / 1.167 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 (61): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.003276/4.43, allocations: 1.31 MB / 2.396 GB, free: 219.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005098/4.435, allocations: 1.854 MB / 2.398 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/4.435, allocations: 0 / 2.398 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/4.436, allocations: 0.5213 MB / 2.398 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003408/4.439, allocations: 0.7033 MB / 2.399 GB, free: 219.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005005/4.444, allocations: 3.396 MB / 2.402 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/4.445, allocations: 1.407 MB / 2.404 GB, free: 217.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001945/4.447, allocations: 404 kB / 2.404 GB, free: 217.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/4.448, allocations: 129.8 kB / 2.404 GB, free: 217.3 MB / 1.167 GB Notification: Performance of SimCode: time 8.01e-07/4.448, allocations: 2.688 kB / 2.404 GB, free: 217.3 MB / 1.167 GB Notification: Performance of Templates: time 0.06347/4.511, allocations: 42.65 MB / 2.446 GB, free: 215.6 MB / 1.167 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","../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches