Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.Validation.Pump_stratos,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_stratos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.Pump_stratos,fileNamePrefix="Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_stratos",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.005005/0.005005, allocations: 99.91 kB / 15.73 MB, free: 6.492 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.001108/0.001108, allocations: 201.3 kB / 16.68 MB, free: 6.375 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.719/2.719, allocations: 469.4 MB / 0.7422 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 59.91 kB / 1.064 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2836, allocations: 159.1 MB / 1.22 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.Pump_stratos): time 0.7601/1.044, allocations: 103.3 MB / 1.321 GB, free: 2.199 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03319/1.077, allocations: 20.66 MB / 1.341 GB, free: 3.555 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005622/1.083, allocations: 90.56 kB / 1.341 GB, free: 3.523 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.009576/1.092, allocations: 2.327 MB / 1.343 GB, free: 2.449 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/1.103, allocations: 3.258 MB / 1.346 GB, free: 0.5547 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007022/1.11, allocations: 2.37 MB / 1.349 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02769/1.137, allocations: 17.37 MB / 1.366 GB, free: 8.074 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004327/1.142, allocations: 1.975 MB / 1.368 GB, free: 6.766 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006951/1.149, allocations: 2.482 MB / 1.37 GB, free: 5.273 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004426/1.153, allocations: 2.002 MB / 1.372 GB, free: 3.996 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001159/1.154, allocations: 281.3 kB / 1.372 GB, free: 3.996 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007135/1.162, allocations: 2.312 MB / 1.374 GB, free: 2.809 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002275/1.164, allocations: 1.38 MB / 1.376 GB, free: 1.902 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005063/1.169, allocations: 2.043 MB / 1.378 GB, free: 496 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/1.182, allocations: 6.297 MB / 1.384 GB, free: 12.18 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/1.182, allocations: 0 / 1.384 GB, free: 12.18 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.643e-06/1.182, allocations: 0 / 1.384 GB, free: 12.18 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000226/1.182, allocations: 0 / 1.384 GB, free: 12.18 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.01179/1.194, allocations: 4.713 MB / 1.389 GB, free: 8.703 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/1.194, allocations: 10.25 kB / 1.389 GB, free: 8.703 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003403/1.194, allocations: 179.4 kB / 1.389 GB, free: 8.555 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006135/1.2, allocations: 1.073 MB / 1.39 GB, free: 8.051 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0123/1.213, allocations: 6.575 MB / 1.396 GB, free: 1.449 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/1.213, allocations: 102.3 kB / 1.396 GB, free: 1.348 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/1.213, allocations: 140 kB / 1.396 GB, free: 1.211 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/1.217, allocations: 1.957 MB / 1.398 GB, free: 15.18 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/1.217, allocations: 3.938 kB / 1.398 GB, free: 15.17 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.217, allocations: 51.94 kB / 1.398 GB, free: 15.12 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.115e-05/1.217, allocations: 28 kB / 1.398 GB, free: 15.09 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/1.22, allocations: 1.441 MB / 1.4 GB, free: 13.64 MB / 1.092 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.01401/1.234, allocations: 9.331 MB / 1.409 GB, free: 3.762 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/1.238, allocations: 1.239 MB / 1.41 GB, free: 2.508 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001569/1.239, allocations: 0.6672 MB / 1.411 GB, free: 1.84 MB / 1.092 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 evalFunc (simulation): time 0.006401/1.246, allocations: 3.289 MB / 1.414 GB, free: 14.36 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.246, allocations: 43.06 kB / 1.414 GB, free: 14.31 MB / 1.107 GB Notification: Performance of pre-optimization done (n=61): time 5.069e-06/1.246, allocations: 0 / 1.414 GB, free: 14.31 MB / 1.107 GB Notification: Performance of matching and sorting (n=61): time 0.007715/1.254, allocations: 2.477 MB / 1.416 GB, free: 11.79 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/1.254, allocations: 59.97 kB / 1.417 GB, free: 11.71 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008573/1.262, allocations: 5.45 MB / 1.422 GB, free: 6.238 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002739/1.263, allocations: 49.7 kB / 1.422 GB, free: 6.184 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/1.264, allocations: 1.536 MB / 1.423 GB, free: 4.637 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.000333/1.264, allocations: 250 kB / 1.424 GB, free: 4.391 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008586/1.265, allocations: 0.4918 MB / 1.424 GB, free: 3.891 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/1.265, allocations: 305.1 kB / 1.424 GB, free: 3.59 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/1.268, allocations: 1.551 MB / 1.426 GB, free: 2.035 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/1.271, allocations: 2.193 MB / 1.428 GB, free: 15.59 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/1.276, allocations: 3.469 MB / 1.431 GB, free: 11.93 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/1.276, allocations: 7.938 kB / 1.431 GB, free: 11.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.00739/1.283, allocations: 4.467 MB / 1.436 GB, free: 7.445 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.664e-05/1.283, allocations: 16.09 kB / 1.436 GB, free: 7.43 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.564e-05/1.283, allocations: 16 kB / 1.436 GB, free: 7.414 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/1.285, allocations: 0.7589 MB / 1.437 GB, free: 6.648 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001493/1.286, allocations: 375.4 kB / 1.437 GB, free: 6.281 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001602/1.288, allocations: 1.745 MB / 1.439 GB, free: 4.484 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002854/1.291, allocations: 258.6 kB / 1.439 GB, free: 4.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/1.291, allocations: 120 kB / 1.439 GB, free: 4.113 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003445/1.295, allocations: 2.152 MB / 1.441 GB, free: 1.953 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002542/1.297, allocations: 1.985 MB / 1.443 GB, free: 15.71 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004205/1.301, allocations: 3.072 MB / 1.446 GB, free: 12.45 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.158e-05/1.301, allocations: 4 kB / 1.446 GB, free: 12.44 MB / 1.139 GB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.007278/1.309, allocations: 4.13 MB / 1.45 GB, free: 8.293 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/1.309, allocations: 9.719 kB / 1.45 GB, free: 8.285 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.309, allocations: 16 kB / 1.45 GB, free: 8.27 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/1.311, allocations: 0.8102 MB / 1.451 GB, free: 7.453 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/1.312, allocations: 355.5 kB / 1.451 GB, free: 7.105 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01461/1.327, allocations: 11.42 MB / 1.462 GB, free: 11.29 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003108/1.33, allocations: 219.1 kB / 1.463 GB, free: 11.08 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002781/1.33, allocations: 104 kB / 1.463 GB, free: 10.98 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (182): * Single equations (assignments): 176 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,6), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005128/1.331, allocations: 267.8 kB / 1.463 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000974/1.332, allocations: 345.6 kB / 1.463 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004865/1.337, allocations: 2.016 MB / 1.465 GB, free: 8.336 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.337, allocations: 11.94 kB / 1.465 GB, free: 8.324 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/1.337, allocations: 0 / 1.465 GB, free: 8.324 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003549/1.34, allocations: 1.737 MB / 1.467 GB, free: 6.512 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009522/1.35, allocations: 4.193 MB / 1.471 GB, free: 2.234 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/1.35, allocations: 3.984 kB / 1.471 GB, free: 2.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009606/1.351, allocations: 167.8 kB / 1.471 GB, free: 2.066 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007033/1.351, allocations: 329.3 kB / 1.472 GB, free: 1.738 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/1.351, allocations: 27.98 kB / 1.472 GB, free: 1.711 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001259/1.353, allocations: 1.612 MB / 1.473 GB, free: 48 kB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.353, allocations: 3.938 kB / 1.473 GB, free: 44 kB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006529/1.359, allocations: 2.745 MB / 1.476 GB, free: 13.27 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/1.361, allocations: 0.6233 MB / 1.476 GB, free: 12.62 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.362, allocations: 16 kB / 1.476 GB, free: 12.61 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/1.364, allocations: 87.92 kB / 1.477 GB, free: 12.52 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.365, allocations: 44.59 kB / 1.477 GB, free: 12.47 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.365, allocations: 43.95 kB / 1.477 GB, free: 12.43 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.00627/1.371, allocations: 3.864 MB / 1.48 GB, free: 8.559 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.9e-07/1.371, allocations: 0 / 1.48 GB, free: 8.559 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.005602/1.377, allocations: 1.575 MB / 1.482 GB, free: 6.98 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (floMacDyn.vol.dynBal.U) * 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 (60): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,7), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007924/1.385, allocations: 3.844 MB / 1.486 GB, free: 3.102 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007897/1.392, allocations: 4.457 MB / 1.49 GB, free: 14.63 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/1.392, allocations: 4.188 kB / 1.49 GB, free: 14.62 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.394, allocations: 0.6439 MB / 1.491 GB, free: 13.98 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008271/1.402, allocations: 1.825 MB / 1.492 GB, free: 12.19 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06167/1.464, allocations: 34.91 MB / 1.527 GB, free: 8.652 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003398/1.468, allocations: 2.159 MB / 1.529 GB, free: 6.461 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.005342/1.473, allocations: 0.8867 MB / 1.529 GB, free: 5.57 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003522/1.477, allocations: 1.436 MB / 1.531 GB, free: 4.133 MB / 1.217 GB Notification: Performance of SimCode: time 1.072e-06/1.477, allocations: 4 kB / 1.531 GB, free: 4.129 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1729/1.649, allocations: 105.2 MB / 1.634 GB, free: 11.99 MB / 1.326 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.9/22.55, allocations: 6.406 kB / 1.634 GB, free: 11.98 MB / 1.326 GB (rm -f Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe >> ../files/Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Movers_Validation_Pump_stratos.fmu > Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Movers_Validation_Pump_stratos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Movers.Validation.Pump_stratos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches