Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 116.5 kB / 17.13 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 210.5 kB / 20.09 MB, free: 2.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.908/2.908, allocations: 0.49 GB / 0.7923 GB, free: 1.328 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.Movers.Examples.PumpsSeries") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 63.91 kB / 1.15 GB, free: 14.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.013/1.015, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.05009/1.065, allocations: 52.12 MB / 1.373 GB, free: 3.77 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03149/1.097, allocations: 18.24 MB / 1.391 GB, free: 6.848 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004477/1.101, allocations: 102.3 kB / 1.391 GB, free: 6.797 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.006914/1.108, allocations: 1.937 MB / 1.393 GB, free: 5.906 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009811/1.118, allocations: 2.841 MB / 1.395 GB, free: 4.262 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006903/1.125, allocations: 2.091 MB / 1.397 GB, free: 3.148 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.02477/1.15, allocations: 14.12 MB / 1.411 GB, free: 14.52 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003878/1.154, allocations: 1.441 MB / 1.413 GB, free: 13.78 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006575/1.16, allocations: 2.048 MB / 1.415 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/1.164, allocations: 1.542 MB / 1.416 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006863/1.165, allocations: 212.9 kB / 1.416 GB, free: 12.09 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/1.171, allocations: 1.969 MB / 1.418 GB, free: 11.46 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00141/1.172, allocations: 0.903 MB / 1.419 GB, free: 10.91 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/1.174, allocations: 1.36 MB / 1.421 GB, free: 9.957 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008882/1.183, allocations: 4.466 MB / 1.425 GB, free: 6.914 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.183, allocations: 0 / 1.425 GB, free: 6.914 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.144e-06/1.183, allocations: 5.344 kB / 1.425 GB, free: 6.91 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.015e-05/1.183, allocations: 0 / 1.425 GB, free: 6.91 MB / 1.107 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.007542/1.191, allocations: 3.22 MB / 1.428 GB, free: 4.469 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.191, allocations: 9.125 kB / 1.428 GB, free: 4.469 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005964/1.197, allocations: 0.9403 MB / 1.429 GB, free: 4.035 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009137/1.206, allocations: 3.523 MB / 1.432 GB, free: 1.555 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/1.206, allocations: 88.59 kB / 1.432 GB, free: 1.516 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003357/1.207, allocations: 111.4 kB / 1.433 GB, free: 1.48 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003397/1.21, allocations: 1.47 MB / 1.434 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/1.21, allocations: 1.219 kB / 1.434 GB, free: 0.5977 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/1.21, allocations: 40.84 kB / 1.434 GB, free: 0.5664 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.207e-05/1.21, allocations: 28.34 kB / 1.434 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003513/1.214, allocations: 1.291 MB / 1.435 GB, free: 15.96 MB / 1.123 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.01274/1.226, allocations: 7.104 MB / 1.442 GB, free: 10 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003383/1.23, allocations: 1.074 MB / 1.443 GB, free: 9.426 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/1.231, allocations: 471 kB / 1.444 GB, free: 9.211 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004779/1.236, allocations: 2.677 MB / 1.446 GB, free: 6.898 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.236, allocations: 41.27 kB / 1.446 GB, free: 6.852 MB / 1.123 GB Notification: Performance of pre-optimization done (n=56): time 2.194e-06/1.236, allocations: 1.031 kB / 1.446 GB, free: 6.852 MB / 1.123 GB Notification: Performance of matching and sorting (n=56): time 0.005687/1.242, allocations: 1.754 MB / 1.448 GB, free: 5.957 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.915e-05/1.242, allocations: 57.66 kB / 1.448 GB, free: 5.895 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/1.246, allocations: 2.546 MB / 1.451 GB, free: 4.504 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001987/1.246, allocations: 38.98 kB / 1.451 GB, free: 4.465 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009757/1.247, allocations: 1.022 MB / 1.452 GB, free: 3.566 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/1.247, allocations: 219.3 kB / 1.452 GB, free: 3.379 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006785/1.248, allocations: 431 kB / 1.452 GB, free: 3.133 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.248, allocations: 301.1 kB / 1.453 GB, free: 2.836 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002223/1.25, allocations: 1.147 MB / 1.454 GB, free: 1.688 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002586/1.253, allocations: 1.523 MB / 1.455 GB, free: 24 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004459/1.257, allocations: 2.449 MB / 1.458 GB, free: 13.46 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/1.257, allocations: 4 kB / 1.458 GB, free: 13.46 MB / 1.139 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.00612/1.263, allocations: 3.046 MB / 1.461 GB, free: 10.4 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/1.263, allocations: 8 kB / 1.461 GB, free: 10.39 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.263, allocations: 11.98 kB / 1.461 GB, free: 10.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005348/1.264, allocations: 145.4 kB / 1.461 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.265, allocations: 335.5 kB / 1.461 GB, free: 9.91 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007688/1.266, allocations: 0.6655 MB / 1.462 GB, free: 9.219 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/1.269, allocations: 230.6 kB / 1.462 GB, free: 8.992 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/1.269, allocations: 95.95 kB / 1.462 GB, free: 8.898 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002924/1.272, allocations: 1.487 MB / 1.463 GB, free: 7.406 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002215/1.274, allocations: 1.344 MB / 1.465 GB, free: 5.918 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003743/1.278, allocations: 2.074 MB / 1.467 GB, free: 3.73 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.782e-06/1.278, allocations: 4 kB / 1.467 GB, free: 3.727 MB / 1.139 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.005834/1.284, allocations: 2.691 MB / 1.469 GB, free: 1.02 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.284, allocations: 8 kB / 1.469 GB, free: 1.012 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.284, allocations: 8 kB / 1.469 GB, free: 1.004 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009668/1.285, allocations: 213.3 kB / 1.47 GB, free: 0.793 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/1.286, allocations: 319.5 kB / 1.47 GB, free: 492 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00624/1.292, allocations: 3.505 MB / 1.473 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/1.295, allocations: 179.3 kB / 1.474 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/1.295, allocations: 83.95 kB / 1.474 GB, free: 12.51 MB / 1.154 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 (161): * Single equations (assignments): 156 * 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.0004704/1.296, allocations: 251.8 kB / 1.474 GB, free: 12.25 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005257/1.296, allocations: 242.3 kB / 1.474 GB, free: 12.02 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004404/1.301, allocations: 1.563 MB / 1.476 GB, free: 10.44 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/1.301, allocations: 15.98 kB / 1.476 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/1.301, allocations: 0 / 1.476 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/1.301, allocations: 3.984 kB / 1.476 GB, free: 10.42 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007234/1.308, allocations: 3.038 MB / 1.479 GB, free: 7.293 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.308, allocations: 0 / 1.479 GB, free: 7.293 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/1.309, allocations: 163.9 kB / 1.479 GB, free: 7.133 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/1.309, allocations: 108.8 kB / 1.479 GB, free: 7.023 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.878e-05/1.309, allocations: 27.97 kB / 1.479 GB, free: 6.996 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005649/1.31, allocations: 0.6382 MB / 1.48 GB, free: 6.332 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.31, allocations: 7.969 kB / 1.48 GB, free: 6.324 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005395/1.315, allocations: 2.135 MB / 1.482 GB, free: 4.156 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.316, allocations: 431.1 kB / 1.482 GB, free: 3.715 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002756/1.317, allocations: 16 kB / 1.482 GB, free: 3.699 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.318, allocations: 87.97 kB / 1.482 GB, free: 3.613 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/1.318, allocations: 48.44 kB / 1.482 GB, free: 3.566 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.318, allocations: 47.89 kB / 1.482 GB, free: 3.52 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002838/1.321, allocations: 1.694 MB / 1.484 GB, free: 1.82 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.01e-07/1.321, allocations: 0 / 1.484 GB, free: 1.82 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003598/1.324, allocations: 1.197 MB / 1.485 GB, free: 0.6211 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (floMac1.motSpe.y,floMac2.motSpe.y) * 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 (63): * Single equations (assignments): 56 * 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.001692/1.326, allocations: 0.7045 MB / 1.486 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007034/1.333, allocations: 3.206 MB / 1.489 GB, free: 12.69 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/1.333, allocations: 0 / 1.489 GB, free: 12.69 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/1.335, allocations: 0.5501 MB / 1.489 GB, free: 12.14 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005435/1.34, allocations: 1.165 MB / 1.491 GB, free: 11.02 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008827/1.349, allocations: 4.316 MB / 1.495 GB, free: 6.645 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/1.351, allocations: 1.665 MB / 1.496 GB, free: 4.945 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009833/1.351, allocations: 203.2 kB / 1.497 GB, free: 4.746 MB / 1.17 GB Notification: Performance of SimCode: time 1.743e-06/1.351, allocations: 0 / 1.497 GB, free: 4.746 MB / 1.17 GB Notification: Performance of Templates: time 0.08059/1.432, allocations: 52.97 MB / 1.548 GB, free: 60 kB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.405438942005276]