Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Examples.PumpsSeries,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Examples_PumpsSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 187.8 kB / 16.66 MB, free: 6.59 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 482.4 MB / 0.7548 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 63.91 kB / 1.083 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2756, allocations: 162.2 MB / 1.241 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Examples.PumpsSeries): time 0.5695/0.8451, allocations: 51.52 MB / 1.292 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02831/0.8734, allocations: 18.14 MB / 1.309 GB, free: 2.094 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003013/0.8765, allocations: 79.75 kB / 1.31 GB, free: 2.066 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005597/0.8821, allocations: 1.902 MB / 1.311 GB, free: 1.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.007587/0.8897, allocations: 2.717 MB / 1.314 GB, free: 15.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005332/0.895, allocations: 2.082 MB / 1.316 GB, free: 14.48 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.02178/0.9168, allocations: 14.07 MB / 1.33 GB, free: 9.867 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003412/0.9203, allocations: 1.721 MB / 1.332 GB, free: 9.047 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005156/0.9254, allocations: 1.993 MB / 1.333 GB, free: 8.09 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003077/0.9285, allocations: 1.466 MB / 1.335 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008275/0.9294, allocations: 212.4 kB / 1.335 GB, free: 7.383 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005147/0.9346, allocations: 1.896 MB / 1.337 GB, free: 6.762 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001484/0.9361, allocations: 0.878 MB / 1.338 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002862/0.9389, allocations: 1.391 MB / 1.339 GB, free: 5.465 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.008468/0.9474, allocations: 4.509 MB / 1.344 GB, free: 2.883 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.9475, allocations: 13.27 kB / 1.344 GB, free: 2.871 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9475, allocations: 0 / 1.344 GB, free: 2.871 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001248/0.9476, allocations: 0 / 1.344 GB, free: 2.871 MB / 1.045 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.007974/0.9556, allocations: 3.277 MB / 1.347 GB, free: 400 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.9556, allocations: 9.625 kB / 1.347 GB, free: 400 kB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000265/0.9559, allocations: 152.5 kB / 1.347 GB, free: 272 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005735/0.9616, allocations: 0.9379 MB / 1.348 GB, free: 15.83 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/0.9793, allocations: 8.879 MB / 1.357 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.9794, allocations: 93.08 kB / 1.357 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.9798, allocations: 112 kB / 1.357 GB, free: 9.965 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00337/0.9832, allocations: 1.465 MB / 1.358 GB, free: 9.086 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.9832, allocations: 4.969 kB / 1.358 GB, free: 9.082 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001353/0.9833, allocations: 45.27 kB / 1.358 GB, free: 9.047 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.262e-05/0.9834, allocations: 24.5 kB / 1.358 GB, free: 9.047 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003561/0.9869, allocations: 1.292 MB / 1.359 GB, free: 8.445 MB / 1.061 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.01156/0.9985, allocations: 7.121 MB / 1.366 GB, free: 2.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/1.002, allocations: 1.108 MB / 1.368 GB, free: 1.887 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/1.003, allocations: 0.4899 MB / 1.368 GB, free: 1.66 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004685/1.008, allocations: 2.692 MB / 1.371 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/1.008, allocations: 38.94 kB / 1.371 GB, free: 15.29 MB / 1.076 GB Notification: Performance of pre-optimization done (n=56): time 4.027e-06/1.008, allocations: 0 / 1.371 GB, free: 15.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=56): time 0.005628/1.014, allocations: 1.758 MB / 1.372 GB, free: 14.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/1.014, allocations: 65.23 kB / 1.372 GB, free: 14.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/1.018, allocations: 2.584 MB / 1.375 GB, free: 12.91 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001254/1.018, allocations: 42.61 kB / 1.375 GB, free: 12.87 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009982/1.019, allocations: 1.032 MB / 1.376 GB, free: 11.96 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/1.019, allocations: 215.2 kB / 1.376 GB, free: 11.78 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/1.02, allocations: 429.8 kB / 1.377 GB, free: 11.54 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.02, allocations: 303.6 kB / 1.377 GB, free: 11.25 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/1.022, allocations: 1.14 MB / 1.378 GB, free: 10.7 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/1.025, allocations: 1.534 MB / 1.38 GB, free: 9.664 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/1.029, allocations: 2.445 MB / 1.382 GB, free: 7.109 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/1.029, allocations: 4 kB / 1.382 GB, free: 7.105 MB / 1.076 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.006052/1.035, allocations: 3.05 MB / 1.385 GB, free: 4.039 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/1.036, allocations: 8.625 kB / 1.385 GB, free: 4.031 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.826e-05/1.036, allocations: 13.17 kB / 1.385 GB, free: 4.02 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005635/1.036, allocations: 148.8 kB / 1.385 GB, free: 3.871 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/1.038, allocations: 339.5 kB / 1.385 GB, free: 3.539 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006726/1.038, allocations: 0.6655 MB / 1.386 GB, free: 2.848 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002104/1.04, allocations: 214.7 kB / 1.386 GB, free: 2.637 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/1.041, allocations: 99.95 kB / 1.386 GB, free: 2.539 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002868/1.043, allocations: 1.491 MB / 1.388 GB, free: 1.047 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002279/1.046, allocations: 1.344 MB / 1.389 GB, free: 15.56 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003777/1.05, allocations: 2.07 MB / 1.391 GB, free: 13.38 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.003e-06/1.05, allocations: 8 kB / 1.391 GB, free: 13.38 MB / 1.092 GB Notification: Performance of matching and sorting (n=232) (initialization_lambda0): time 0.005638/1.055, allocations: 2.695 MB / 1.394 GB, free: 10.66 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.055, allocations: 8.062 kB / 1.394 GB, free: 10.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/1.055, allocations: 12 kB / 1.394 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009818/1.056, allocations: 216.6 kB / 1.394 GB, free: 10.43 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.058, allocations: 319.5 kB / 1.394 GB, free: 10.12 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006155/1.064, allocations: 3.512 MB / 1.398 GB, free: 6.391 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/1.066, allocations: 179.3 kB / 1.398 GB, free: 6.215 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001763/1.066, allocations: 79.97 kB / 1.398 GB, free: 6.137 MB / 1.092 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.0003817/1.066, allocations: 255.9 kB / 1.398 GB, free: 5.879 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/1.067, allocations: 242.3 kB / 1.398 GB, free: 5.641 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004365/1.071, allocations: 1.571 MB / 1.4 GB, free: 4.059 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.071, allocations: 7.984 kB / 1.4 GB, free: 4.051 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/1.071, allocations: 0 / 1.4 GB, free: 4.051 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/1.071, allocations: 7.984 kB / 1.4 GB, free: 4.043 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/1.078, allocations: 3.066 MB / 1.403 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.078, allocations: 0 / 1.403 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009664/1.079, allocations: 159.9 kB / 1.403 GB, free: 0.7344 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/1.079, allocations: 108.6 kB / 1.403 GB, free: 0.625 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/1.079, allocations: 31.97 kB / 1.403 GB, free: 0.5938 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005511/1.08, allocations: 0.6382 MB / 1.404 GB, free: 15.93 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.08, allocations: 0 / 1.404 GB, free: 15.93 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00538/1.085, allocations: 2.147 MB / 1.406 GB, free: 13.75 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009705/1.086, allocations: 435.2 kB / 1.406 GB, free: 13.3 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004961/1.087, allocations: 16 kB / 1.406 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00141/1.088, allocations: 87.86 kB / 1.406 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/1.088, allocations: 40.5 kB / 1.407 GB, free: 13.16 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/1.088, allocations: 51.89 kB / 1.407 GB, free: 13.11 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003248/1.092, allocations: 1.723 MB / 1.408 GB, free: 11.39 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.91e-07/1.092, allocations: 4 kB / 1.408 GB, free: 11.38 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00406/1.096, allocations: 1.197 MB / 1.409 GB, free: 10.18 MB / 1.107 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.007647/1.103, allocations: 3.316 MB / 1.413 GB, free: 6.824 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.007385/1.111, allocations: 3.483 MB / 1.416 GB, free: 3.336 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.111, allocations: 0 / 1.416 GB, free: 3.336 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.00165/1.113, allocations: 0.5735 MB / 1.417 GB, free: 2.766 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005459/1.118, allocations: 1.168 MB / 1.418 GB, free: 1.641 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04023/1.158, allocations: 19.75 MB / 1.437 GB, free: 13.46 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001654/1.16, allocations: 1.692 MB / 1.439 GB, free: 11.74 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002514/1.162, allocations: 0.6428 MB / 1.439 GB, free: 11.09 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.164, allocations: 0.9678 MB / 1.44 GB, free: 10.12 MB / 1.139 GB Notification: Performance of SimCode: time 8.32e-07/1.164, allocations: 4 kB / 1.44 GB, free: 10.12 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/1.292, allocations: 69.83 MB / 1.508 GB, free: 5.031 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.26/17.56, allocations: 3.859 kB / 1.508 GB, free: 5.027 MB / 1.201 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.csv --start-time 0 --stop-time 300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 Buildings_latest_Buildings_Fluid_Movers_Examples_PumpsSeries.fmu > Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches