Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008211/0.008211, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.001679/0.001679, allocations: 202.5 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.804/2.804, allocations: 469.8 MB / 0.7425 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3652, allocations: 159.1 MB / 1.221 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.7665/1.132, allocations: 51.59 MB / 1.271 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03181/1.164, allocations: 18.19 MB / 1.289 GB, free: 9.941 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005219/1.169, allocations: 79 kB / 1.289 GB, free: 9.914 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007619/1.176, allocations: 1.931 MB / 1.291 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.009456/1.186, allocations: 2.824 MB / 1.293 GB, free: 7.395 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.006528/1.192, allocations: 2.107 MB / 1.296 GB, free: 6.273 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0248/1.217, allocations: 14.15 MB / 1.309 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003622/1.221, allocations: 1.438 MB / 1.311 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005508/1.226, allocations: 1.987 MB / 1.313 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/1.23, allocations: 1.519 MB / 1.314 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00109/1.231, allocations: 215.6 kB / 1.314 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00599/1.237, allocations: 1.903 MB / 1.316 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001917/1.239, allocations: 0.9119 MB / 1.317 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00396/1.243, allocations: 1.391 MB / 1.318 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/1.255, allocations: 4.466 MB / 1.323 GB, free: 11.61 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.507e-06/1.255, allocations: 4 kB / 1.323 GB, free: 11.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.204e-06/1.255, allocations: 0 / 1.323 GB, free: 11.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002071/1.255, allocations: 0 / 1.323 GB, free: 11.6 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.01108/1.266, allocations: 3.259 MB / 1.326 GB, free: 9.445 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/1.267, allocations: 13.31 kB / 1.326 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006193/1.273, allocations: 0.9429 MB / 1.327 GB, free: 9.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009941/1.283, allocations: 3.539 MB / 1.33 GB, free: 7.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/1.283, allocations: 90.38 kB / 1.33 GB, free: 6.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005291/1.283, allocations: 116.4 kB / 1.331 GB, free: 6.941 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/1.287, allocations: 1.486 MB / 1.332 GB, free: 6.035 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/1.287, allocations: 1.156 kB / 1.332 GB, free: 6.035 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/1.287, allocations: 41.06 kB / 1.332 GB, free: 6.004 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/1.288, allocations: 38.28 kB / 1.332 GB, free: 6 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003648/1.291, allocations: 1.319 MB / 1.333 GB, free: 5.387 MB / 1.029 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.01371/1.305, allocations: 6.953 MB / 1.34 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003361/1.308, allocations: 1.089 MB / 1.341 GB, free: 15.11 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/1.31, allocations: 477.7 kB / 1.342 GB, free: 14.89 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005489/1.315, allocations: 2.74 MB / 1.344 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.315, allocations: 37.25 kB / 1.344 GB, free: 12.49 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 2.876e-06/1.315, allocations: 1 kB / 1.344 GB, free: 12.49 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005562/1.321, allocations: 1.734 MB / 1.346 GB, free: 11.6 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/1.321, allocations: 62.41 kB / 1.346 GB, free: 11.54 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006139/1.327, allocations: 2.589 MB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001564/1.327, allocations: 43.97 kB / 1.349 GB, free: 10.08 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/1.328, allocations: 1.029 MB / 1.35 GB, free: 9.176 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/1.329, allocations: 232.8 kB / 1.35 GB, free: 8.977 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009052/1.329, allocations: 439.3 kB / 1.35 GB, free: 8.738 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.33, allocations: 306.3 kB / 1.351 GB, free: 8.438 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002219/1.332, allocations: 1.143 MB / 1.352 GB, free: 7.883 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/1.334, allocations: 1.548 MB / 1.353 GB, free: 6.859 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/1.339, allocations: 2.462 MB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/1.339, allocations: 1.281 kB / 1.356 GB, free: 5.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.005883/1.345, allocations: 3.065 MB / 1.359 GB, free: 3.977 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/1.345, allocations: 9.625 kB / 1.359 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.87e-05/1.345, allocations: 7.438 kB / 1.359 GB, free: 3.977 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005942/1.345, allocations: 148.2 kB / 1.359 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/1.347, allocations: 367.4 kB / 1.359 GB, free: 3.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007489/1.348, allocations: 0.6619 MB / 1.36 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/1.35, allocations: 229 kB / 1.36 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/1.35, allocations: 97.52 kB / 1.36 GB, free: 3.047 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002941/1.353, allocations: 1.498 MB / 1.362 GB, free: 2.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001999/1.355, allocations: 1.355 MB / 1.363 GB, free: 1.281 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003501/1.359, allocations: 2.095 MB / 1.365 GB, free: 48 kB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.063e-05/1.359, allocations: 2.156 kB / 1.365 GB, free: 48 kB / 1.045 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005939/1.365, allocations: 2.718 MB / 1.368 GB, free: 13.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/1.365, allocations: 8 kB / 1.368 GB, free: 13.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.365, allocations: 8 kB / 1.368 GB, free: 13.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009869/1.366, allocations: 209.2 kB / 1.368 GB, free: 13.37 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.367, allocations: 339.5 kB / 1.368 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0062/1.373, allocations: 3.52 MB / 1.372 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/1.376, allocations: 175.3 kB / 1.372 GB, free: 9.137 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/1.376, allocations: 79.97 kB / 1.372 GB, free: 9.059 MB / 1.061 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.0005997/1.377, allocations: 253.4 kB / 1.372 GB, free: 8.805 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008429/1.378, allocations: 242.3 kB / 1.372 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/1.382, allocations: 1.567 MB / 1.374 GB, free: 6.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/1.382, allocations: 12 kB / 1.374 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/1.382, allocations: 4 kB / 1.374 GB, free: 6.965 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.382, allocations: 7.984 kB / 1.374 GB, free: 6.957 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007499/1.39, allocations: 3.097 MB / 1.377 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/1.39, allocations: 0 / 1.377 GB, free: 3.777 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/1.391, allocations: 163.8 kB / 1.377 GB, free: 3.617 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003505/1.391, allocations: 104.8 kB / 1.377 GB, free: 3.512 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.801e-05/1.391, allocations: 31.98 kB / 1.377 GB, free: 3.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004907/1.392, allocations: 0.6499 MB / 1.378 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/1.392, allocations: 0 / 1.378 GB, free: 2.805 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004858/1.396, allocations: 2.145 MB / 1.38 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/1.398, allocations: 447.1 kB / 1.38 GB, free: 172 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006053/1.398, allocations: 16 kB / 1.38 GB, free: 156 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/1.4, allocations: 71.92 kB / 1.38 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.4, allocations: 56.44 kB / 1.381 GB, free: 28 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001304/1.4, allocations: 51.95 kB / 1.381 GB, free: 15.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.003374/1.403, allocations: 1.719 MB / 1.382 GB, free: 14.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.31e-07/1.403, allocations: 0 / 1.382 GB, free: 14.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004565/1.408, allocations: 1.216 MB / 1.383 GB, free: 13.04 MB / 1.076 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.002156/1.41, allocations: 0.7324 MB / 1.384 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.006789/1.417, allocations: 3.218 MB / 1.387 GB, free: 9.074 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.417, allocations: 4.062 kB / 1.387 GB, free: 9.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001561/1.418, allocations: 0.5343 MB / 1.388 GB, free: 8.535 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005664/1.424, allocations: 1.158 MB / 1.389 GB, free: 7.418 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009563/1.434, allocations: 4.144 MB / 1.393 GB, free: 3.219 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/1.436, allocations: 1.713 MB / 1.395 GB, free: 1.477 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.003312/1.439, allocations: 0.6738 MB / 1.395 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008066/1.44, allocations: 195.3 kB / 1.396 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of SimCode: time 1.092e-06/1.44, allocations: 0 / 1.396 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of Templates: time 0.08932/1.529, allocations: 52.47 MB / 1.447 GB, free: 12.73 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches