Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.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.0008166/0.0008166, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 13.93 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.0008693/0.0008693, allocations: 221.7 kB / 22.25 MB, free: 3.566 MB / 13.93 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 0.9466/0.9466, allocations: 230.6 MB / 256 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.356/2.356, allocations: 0.5556 GB / 0.8607 GB, free: 30.8 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: "" <> buildModelFMU(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,fileNamePrefix="Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate,fileNamePrefix="Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 60.22 kB / 1.253 GB, free: 22.65 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3098, allocations: 193.3 MB / 1.442 GB, free: 10.87 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate): time 0.001629/0.3115, allocations: 1.246 MB / 1.443 GB, free: 9.617 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.01717/0.3286, allocations: 20.6 MB / 1.463 GB, free: 4.938 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.3287, allocations: 0 / 1.463 GB, free: 4.938 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.3287, allocations: 3.938 kB / 1.463 GB, free: 4.934 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.3289, allocations: 51.7 kB / 1.463 GB, free: 4.883 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 4.829e-06/0.3289, allocations: 4 kB / 1.463 GB, free: 4.879 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 5.475e-05/0.329, allocations: 19.88 kB / 1.463 GB, free: 4.859 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.329, allocations: 3.984 kB / 1.463 GB, free: 4.855 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.3291, allocations: 7.984 kB / 1.463 GB, free: 4.848 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 3.429e-05/0.3291, allocations: 7.938 kB / 1.463 GB, free: 4.84 MB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.3291, allocations: 0 / 1.463 GB, free: 4.84 MB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0149/0.344, allocations: 10.04 MB / 1.473 GB, free: 10.75 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.344, allocations: 3.938 kB / 1.473 GB, free: 10.74 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.344, allocations: 7.984 kB / 1.473 GB, free: 10.73 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.0001078/0.3441, allocations: 35.84 kB / 1.473 GB, free: 10.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3441, allocations: 0 / 1.473 GB, free: 10.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.445e-06/0.3442, allocations: 4 kB / 1.473 GB, free: 10.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.3442, allocations: 0 / 1.473 GB, free: 10.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002559/0.3444, allocations: 262.2 kB / 1.473 GB, free: 10.41 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3445, allocations: 8.031 kB / 1.473 GB, free: 10.4 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.3445, allocations: 42.69 kB / 1.473 GB, free: 10.35 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.3445, allocations: 4.891 kB / 1.473 GB, free: 10.35 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.718e-05/0.3446, allocations: 110.5 kB / 1.473 GB, free: 10.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.3446, allocations: 384 / 1.473 GB, free: 10.21 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-06/0.3446, allocations: 8.125 kB / 1.473 GB, free: 10.21 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.121e-05/0.3447, allocations: 51.41 kB / 1.473 GB, free: 10.14 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.3447, allocations: 0 / 1.473 GB, free: 10.14 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.3447, allocations: 0 / 1.473 GB, free: 10.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3447, allocations: 3.938 kB / 1.473 GB, free: 10.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.095e-05/0.3447, allocations: 11.94 kB / 1.473 GB, free: 10.13 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.3449, allocations: 145.6 kB / 1.474 GB, free: 9.941 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.3449, allocations: 41.25 kB / 1.474 GB, free: 9.883 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.026e-05/0.3449, allocations: 33.64 kB / 1.474 GB, free: 9.844 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.3451, allocations: 19.92 kB / 1.474 GB, free: 9.824 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3451, allocations: 34.56 kB / 1.474 GB, free: 9.781 MB / 1.151 GB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.3451, allocations: 0 / 1.474 GB, free: 9.781 MB / 1.151 GB Notification: Performance of matching and sorting (n=4): time 0.0004/0.3455, allocations: 57.81 kB / 1.474 GB, free: 9.719 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.3455, allocations: 85.17 kB / 1.474 GB, free: 9.617 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.3456, allocations: 97.84 kB / 1.474 GB, free: 9.512 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.3456, allocations: 29.7 kB / 1.474 GB, free: 9.477 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.977e-05/0.3456, allocations: 84.12 kB / 1.474 GB, free: 9.391 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.3457, allocations: 11.91 kB / 1.474 GB, free: 9.379 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.3457, allocations: 17.72 kB / 1.474 GB, free: 9.355 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.3458, allocations: 310.8 kB / 1.474 GB, free: 9.043 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.3458, allocations: 7.984 kB / 1.474 GB, free: 9.035 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.635e-05/0.3458, allocations: 17.72 kB / 1.474 GB, free: 9.012 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.484e-05/0.3458, allocations: 33.66 kB / 1.474 GB, free: 8.973 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3458, allocations: 0 / 1.474 GB, free: 8.973 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.262e-05/0.3459, allocations: 57.52 kB / 1.475 GB, free: 8.91 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.3459, allocations: 8 kB / 1.475 GB, free: 8.902 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.3459, allocations: 0 / 1.475 GB, free: 8.902 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.3459, allocations: 0 / 1.475 GB, free: 8.902 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.346, allocations: 4 kB / 1.475 GB, free: 8.898 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.346, allocations: 4 kB / 1.475 GB, free: 8.895 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.118e-05/0.346, allocations: 0 / 1.475 GB, free: 8.895 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.346, allocations: 4.047 kB / 1.475 GB, free: 8.891 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.7e-05/0.346, allocations: 117.8 kB / 1.475 GB, free: 8.766 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-06/0.346, allocations: 3.938 kB / 1.475 GB, free: 8.762 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.247e-05/0.3461, allocations: 63.06 kB / 1.475 GB, free: 8.699 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3461, allocations: 0 / 1.475 GB, free: 8.699 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3461, allocations: 4 kB / 1.475 GB, free: 8.695 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.3461, allocations: 0 / 1.475 GB, free: 8.695 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.4e-05/0.3462, allocations: 132.6 kB / 1.475 GB, free: 8.523 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3462, allocations: 0 / 1.475 GB, free: 8.523 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.608e-05/0.3462, allocations: 15.94 kB / 1.475 GB, free: 8.508 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.3462, allocations: 4.062 kB / 1.475 GB, free: 8.504 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.3462, allocations: 0 / 1.475 GB, free: 8.504 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3462, allocations: 4 kB / 1.475 GB, free: 8.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3462, allocations: 3.938 kB / 1.475 GB, free: 8.496 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.062e-05/0.3463, allocations: 85.91 kB / 1.475 GB, free: 8.391 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.955e-05/0.3463, allocations: 3.938 kB / 1.475 GB, free: 8.387 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.002e-05/0.3463, allocations: 4 kB / 1.475 GB, free: 8.383 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-06/0.3463, allocations: 0 / 1.475 GB, free: 8.383 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.3463, allocations: 3.984 kB / 1.475 GB, free: 8.379 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3463, allocations: 8 kB / 1.475 GB, free: 8.371 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.274e-05/0.3464, allocations: 87.22 kB / 1.475 GB, free: 8.285 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3464, allocations: 0 / 1.475 GB, free: 8.285 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0001371/0.3465, allocations: 15.94 kB / 1.475 GB, free: 8.27 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002648/0.3468, allocations: 0.6327 MB / 1.476 GB, free: 7.602 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.918e-05/0.3468, allocations: 19.92 kB / 1.476 GB, free: 7.582 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.3468, allocations: 0 / 1.476 GB, free: 7.582 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.3469, allocations: 12 kB / 1.476 GB, free: 7.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.3471, allocations: 19.12 kB / 1.476 GB, free: 7.555 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.3477, allocations: 1.164 MB / 1.477 GB, free: 6.293 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.3478, allocations: 67.28 kB / 1.477 GB, free: 6.207 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.3478, allocations: 2.25 kB / 1.477 GB, free: 6.207 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.3478, allocations: 11.44 kB / 1.477 GB, free: 6.195 MB / 1.151 GB Notification: Performance of SimCode: time 4.61e-07/0.3478, allocations: 0 / 1.477 GB, free: 6.195 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.3626, allocations: 2.384 MB / 1.479 GB, free: 3.965 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.336, allocations: 9.656 kB / 1.479 GB, free: 3.961 MB / 1.151 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe >> ../files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.csv --start-time 0 --stop-time 1.5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0006 Buildings_latest_Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.fmu > Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Conversions_Validation_PressureDrop_massFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable dpRat_equalHeatFlowRate in file Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.csv. Warning: Get data of variable dpRat_equalHeatFlowRate from file Buildings_latest_Buildings.Media.Conversions.Validation.PressureDrop_massFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.51929340325296]