Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 188.7 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.686/2.686, allocations: 443.4 MB / 0.7321 GB, free: 12.39 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.061 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9008/0.9028, allocations: 160.8 MB / 1.218 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.06345/0.9663, allocations: 52.36 MB / 1.27 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.03355/0.9998, allocations: 18.32 MB / 1.287 GB, free: 376 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004623/1.004, allocations: 103.2 kB / 1.288 GB, free: 272 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007794/1.012, allocations: 2.011 MB / 1.29 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009578/1.022, allocations: 2.87 MB / 1.292 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006244/1.028, allocations: 2.185 MB / 1.294 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02499/1.053, allocations: 14.56 MB / 1.309 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003675/1.057, allocations: 1.413 MB / 1.31 GB, free: 9.164 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/1.063, allocations: 2.025 MB / 1.312 GB, free: 7.141 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/1.066, allocations: 1.588 MB / 1.314 GB, free: 5.547 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008644/1.067, allocations: 216 kB / 1.314 GB, free: 5.336 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005522/1.072, allocations: 2.032 MB / 1.316 GB, free: 3.301 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001618/1.074, allocations: 0.9189 MB / 1.317 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002371/1.076, allocations: 1.384 MB / 1.318 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0098/1.086, allocations: 4.476 MB / 1.322 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 1.185e-05/1.086, allocations: 4 kB / 1.322 GB, free: 12.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.246e-06/1.086, allocations: 0 / 1.322 GB, free: 12.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001243/1.086, allocations: 0 / 1.322 GB, free: 12.49 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.008498/1.095, allocations: 3.266 MB / 1.326 GB, free: 9.148 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/1.095, allocations: 12.03 kB / 1.326 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005552/1.1, allocations: 0.9426 MB / 1.327 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009457/1.11, allocations: 3.537 MB / 1.33 GB, free: 4.586 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/1.11, allocations: 89.94 kB / 1.33 GB, free: 4.5 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/1.11, allocations: 116 kB / 1.33 GB, free: 4.387 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003232/1.114, allocations: 1.49 MB / 1.332 GB, free: 2.836 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/1.114, allocations: 3.938 kB / 1.332 GB, free: 2.832 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/1.114, allocations: 44 kB / 1.332 GB, free: 2.789 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/1.114, allocations: 38 kB / 1.332 GB, free: 2.75 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003334/1.117, allocations: 1.331 MB / 1.333 GB, free: 1.418 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.01186/1.129, allocations: 6.971 MB / 1.34 GB, free: 10.06 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/1.132, allocations: 1.1 MB / 1.341 GB, free: 8.938 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/1.133, allocations: 482.5 kB / 1.341 GB, free: 8.465 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004507/1.138, allocations: 2.739 MB / 1.344 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/1.138, allocations: 43.06 kB / 1.344 GB, free: 5.465 MB / 1.045 GB Notification: Performance of pre-optimization done (n=60): time 2.154e-06/1.138, allocations: 0 / 1.344 GB, free: 5.465 MB / 1.045 GB Notification: Performance of matching and sorting (n=60): time 0.005301/1.143, allocations: 1.747 MB / 1.346 GB, free: 3.691 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/1.143, allocations: 55.91 kB / 1.346 GB, free: 3.625 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004225/1.147, allocations: 2.587 MB / 1.348 GB, free: 1.02 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002134/1.148, allocations: 41.7 kB / 1.348 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.149, allocations: 1.038 MB / 1.349 GB, free: 15.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/1.149, allocations: 234 kB / 1.35 GB, free: 15.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006737/1.15, allocations: 439.2 kB / 1.35 GB, free: 15.26 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.15, allocations: 305.1 kB / 1.35 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002127/1.152, allocations: 1.157 MB / 1.351 GB, free: 13.8 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002528/1.155, allocations: 1.553 MB / 1.353 GB, free: 12.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004258/1.159, allocations: 2.492 MB / 1.355 GB, free: 9.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/1.159, allocations: 7.75 kB / 1.355 GB, free: 9.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=238) (initialization): time 0.00603/1.165, allocations: 3.093 MB / 1.358 GB, free: 6.379 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/1.165, allocations: 8 kB / 1.358 GB, free: 6.371 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.165, allocations: 8.625 kB / 1.358 GB, free: 6.363 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/1.165, allocations: 152.8 kB / 1.359 GB, free: 6.211 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.167, allocations: 363.5 kB / 1.359 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007503/1.168, allocations: 0.6694 MB / 1.36 GB, free: 5.16 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/1.17, allocations: 215.3 kB / 1.36 GB, free: 4.949 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000205/1.17, allocations: 91.97 kB / 1.36 GB, free: 4.859 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002997/1.173, allocations: 1.519 MB / 1.361 GB, free: 3.336 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002163/1.175, allocations: 1.358 MB / 1.363 GB, free: 1.836 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003639/1.179, allocations: 2.114 MB / 1.365 GB, free: 15.61 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.556e-06/1.179, allocations: 4 kB / 1.365 GB, free: 15.61 MB / 1.076 GB Notification: Performance of matching and sorting (n=238) (initialization_lambda0): time 0.005662/1.185, allocations: 2.734 MB / 1.367 GB, free: 12.86 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/1.185, allocations: 12 kB / 1.367 GB, free: 12.85 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/1.185, allocations: 8 kB / 1.367 GB, free: 12.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009516/1.186, allocations: 216.6 kB / 1.368 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/1.187, allocations: 343.5 kB / 1.368 GB, free: 12.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006385/1.193, allocations: 3.502 MB / 1.371 GB, free: 8.578 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/1.196, allocations: 175.2 kB / 1.372 GB, free: 8.406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001929/1.196, allocations: 87.95 kB / 1.372 GB, free: 8.32 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.000435/1.196, allocations: 251.9 kB / 1.372 GB, free: 8.066 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004056/1.197, allocations: 246.3 kB / 1.372 GB, free: 7.824 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/1.201, allocations: 1.595 MB / 1.374 GB, free: 6.207 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/1.201, allocations: 8 kB / 1.374 GB, free: 6.199 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/1.201, allocations: 0 / 1.374 GB, free: 6.199 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/1.201, allocations: 7.922 kB / 1.374 GB, free: 6.191 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/1.207, allocations: 3.105 MB / 1.377 GB, free: 3.008 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/1.207, allocations: 8 kB / 1.377 GB, free: 3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009807/1.208, allocations: 159.9 kB / 1.377 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003556/1.209, allocations: 108.7 kB / 1.377 GB, free: 2.734 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.42e-05/1.209, allocations: 31.91 kB / 1.377 GB, free: 2.703 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005379/1.209, allocations: 0.6421 MB / 1.378 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.209, allocations: 0 / 1.378 GB, free: 2.035 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005019/1.214, allocations: 2.177 MB / 1.38 GB, free: 15.82 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/1.215, allocations: 451.1 kB / 1.38 GB, free: 15.36 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/1.216, allocations: 12 kB / 1.38 GB, free: 15.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001167/1.217, allocations: 79.91 kB / 1.38 GB, free: 15.27 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/1.217, allocations: 52.5 kB / 1.38 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-05/1.217, allocations: 43.97 kB / 1.38 GB, free: 15.17 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002958/1.22, allocations: 1.727 MB / 1.382 GB, free: 13.44 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.22, allocations: 0 / 1.382 GB, free: 13.44 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003734/1.224, allocations: 1.22 MB / 1.383 GB, free: 12.22 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.001708/1.225, allocations: 0.7249 MB / 1.384 GB, free: 11.49 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006682/1.232, allocations: 3.245 MB / 1.387 GB, free: 8.242 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.232, allocations: 0 / 1.387 GB, free: 8.242 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001457/1.234, allocations: 0.5514 MB / 1.388 GB, free: 7.691 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004867/1.238, allocations: 1.152 MB / 1.389 GB, free: 6.582 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007767/1.246, allocations: 4.165 MB / 1.393 GB, free: 2.367 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/1.248, allocations: 1.717 MB / 1.395 GB, free: 0.6211 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.002894/1.251, allocations: 0.6622 MB / 1.395 GB, free: 15.95 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005632/1.251, allocations: 191.3 kB / 1.395 GB, free: 15.77 MB / 1.107 GB Notification: Performance of SimCode: time 1.633e-06/1.251, allocations: 0 / 1.395 GB, free: 15.77 MB / 1.107 GB Notification: Performance of Templates: time 0.09659/1.348, allocations: 53.17 MB / 1.447 GB, free: 11.14 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.099236900918186]