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.001377/0.001378, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001482/0.001482, allocations: 187 kB / 17.34 MB, free: 5.719 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.09 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.285/2.285, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.9515 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9637/0.965, allocations: 140.4 MB / 1.089 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05519/1.02, allocations: 50.73 MB / 1.138 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02828/1.049, allocations: 16.13 MB / 1.154 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005061/1.054, allocations: 72.72 kB / 1.154 GB, free: 5.887 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004438/1.058, allocations: 1.064 MB / 1.155 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009978/1.068, allocations: 2.444 MB / 1.157 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.007411/1.076, allocations: 1.998 MB / 1.159 GB, free: 2.789 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009843/1.085, allocations: 4.425 MB / 1.164 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003811/1.089, allocations: 1.658 MB / 1.165 GB, free: 15.89 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006116/1.095, allocations: 1.835 MB / 1.167 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003521/1.099, allocations: 1.353 MB / 1.168 GB, free: 14.38 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000602/1.1, allocations: 187.8 kB / 1.169 GB, free: 14.38 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005033/1.105, allocations: 1.569 MB / 1.17 GB, free: 13.86 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0009563/1.106, allocations: 0.6055 MB / 1.171 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/1.108, allocations: 1.031 MB / 1.172 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007337/1.115, allocations: 3.424 MB / 1.175 GB, free: 10.38 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.115, allocations: 0 / 1.175 GB, free: 10.38 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.918e-06/1.115, allocations: 1.219 kB / 1.175 GB, free: 10.38 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.574e-05/1.115, allocations: 0 / 1.175 GB, free: 10.38 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.005696/1.121, allocations: 2.387 MB / 1.177 GB, free: 8.602 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.121, allocations: 13.34 kB / 1.177 GB, free: 8.598 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004599/1.125, allocations: 0.7319 MB / 1.178 GB, free: 8.273 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005353/1.131, allocations: 1.927 MB / 1.18 GB, free: 6.875 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/1.131, allocations: 83.28 kB / 1.18 GB, free: 6.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/1.131, allocations: 112.2 kB / 1.18 GB, free: 6.797 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002823/1.134, allocations: 1.281 MB / 1.181 GB, free: 6.004 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.55e-05/1.134, allocations: 9.219 kB / 1.181 GB, free: 5.996 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/1.134, allocations: 46.16 kB / 1.181 GB, free: 5.961 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/1.134, allocations: 35.72 kB / 1.182 GB, free: 5.957 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/1.137, allocations: 1.047 MB / 1.183 GB, free: 5.449 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.009147/1.146, allocations: 5.908 MB / 1.188 GB, free: 300 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/1.149, allocations: 0.8944 MB / 1.189 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.15, allocations: 401 kB / 1.19 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003611/1.153, allocations: 2.205 MB / 1.192 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/1.153, allocations: 41.25 kB / 1.192 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=57): time 3.687e-06/1.153, allocations: 3.984 kB / 1.192 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of matching and sorting (n=57): time 0.004112/1.158, allocations: 1.339 MB / 1.193 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/1.158, allocations: 58.53 kB / 1.193 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/1.16, allocations: 1.512 MB / 1.195 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/1.16, allocations: 42.02 kB / 1.195 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006576/1.161, allocations: 0.7794 MB / 1.195 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/1.161, allocations: 205.8 kB / 1.196 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/1.161, allocations: 211.1 kB / 1.196 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.161, allocations: 339 kB / 1.196 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/1.163, allocations: 470.6 kB / 1.197 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/1.164, allocations: 0.7592 MB / 1.197 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002502/1.166, allocations: 1.176 MB / 1.198 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.547e-06/1.167, allocations: 2.125 kB / 1.198 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003674/1.17, allocations: 1.459 MB / 1.2 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/1.17, allocations: 7.688 kB / 1.2 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/1.17, allocations: 8.812 kB / 1.2 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/1.171, allocations: 141.8 kB / 1.2 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/1.172, allocations: 246.2 kB / 1.2 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006313/1.172, allocations: 0.6641 MB / 1.201 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.174, allocations: 122.7 kB / 1.201 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/1.174, allocations: 59.91 kB / 1.201 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00163/1.176, allocations: 0.7257 MB / 1.202 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001177/1.177, allocations: 0.7019 MB / 1.202 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002012/1.179, allocations: 1.046 MB / 1.204 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.418e-06/1.179, allocations: 3.156 kB / 1.204 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107) (initialization_lambda0): time 0.003423/1.182, allocations: 1.345 MB / 1.205 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/1.182, allocations: 12.44 kB / 1.205 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.828e-05/1.182, allocations: 9.562 kB / 1.205 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009348/1.183, allocations: 206.6 kB / 1.205 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009539/1.184, allocations: 237.6 kB / 1.205 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005877/1.19, allocations: 3.503 MB / 1.209 GB, free: 1.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.192, allocations: 103.3 kB / 1.209 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/1.192, allocations: 52.02 kB / 1.209 GB, free: 1.461 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.0004137/1.193, allocations: 244.5 kB / 1.209 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003026/1.193, allocations: 154 kB / 1.209 GB, free: 1.062 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/1.196, allocations: 1.283 MB / 1.21 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.196, allocations: 15.94 kB / 1.21 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/1.196, allocations: 3.938 kB / 1.21 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/1.196, allocations: 3.984 kB / 1.21 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004775/1.201, allocations: 2.485 MB / 1.213 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.201, allocations: 0 / 1.213 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007763/1.202, allocations: 151.9 kB / 1.213 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/1.202, allocations: 104.6 kB / 1.213 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.796e-05/1.202, allocations: 23.98 kB / 1.213 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000457/1.203, allocations: 0.6422 MB / 1.214 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.203, allocations: 4.031 kB / 1.214 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/1.206, allocations: 1.717 MB / 1.215 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008276/1.207, allocations: 334.8 kB / 1.216 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002004/1.207, allocations: 31.92 kB / 1.216 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008484/1.208, allocations: 51.95 kB / 1.216 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/1.208, allocations: 44.5 kB / 1.216 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/1.208, allocations: 35.97 kB / 1.216 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001549/1.21, allocations: 1.024 MB / 1.217 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.7e-07/1.21, allocations: 0 / 1.217 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002924/1.213, allocations: 0.9003 MB / 1.218 GB, free: 8.062 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.001421/1.214, allocations: 0.5477 MB / 1.218 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004247/1.219, allocations: 1.778 MB / 1.22 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.219, allocations: 0 / 1.22 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001142/1.22, allocations: 480.1 kB / 1.221 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003488/1.223, allocations: 0.7664 MB / 1.221 GB, free: 4.508 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005565/1.229, allocations: 2.912 MB / 1.224 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009724/1.23, allocations: 1.36 MB / 1.225 GB, free: 148 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/1.231, allocations: 135.4 kB / 1.226 GB, free: 16 kB / 0.9512 GB Notification: Performance of SimCode: time 1.422e-06/1.231, allocations: 0 / 1.226 GB, free: 16 kB / 0.9512 GB Notification: Performance of Templates: time 0.05194/1.282, allocations: 38.41 MB / 1.263 GB, free: 9.836 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches