Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.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.001734/0.001734, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.00208/0.00208, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.522/1.522, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.795/2.795, allocations: 476.7 MB / 0.7672 GB, free: 5.266 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.002128/0.002128, allocations: 71.91 kB / 1.112 GB, free: 1.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8588/0.8609, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.003306/0.8642, allocations: 1.282 MB / 1.279 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1845/1.049, allocations: 141 MB / 1.417 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/1.049, allocations: 0 / 1.417 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/1.049, allocations: 0 / 1.417 GB, free: 14.65 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/1.049, allocations: 7.938 kB / 1.417 GB, free: 14.64 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/1.051, allocations: 468.1 kB / 1.418 GB, free: 14.18 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/1.051, allocations: 39.91 kB / 1.418 GB, free: 14.14 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/1.051, allocations: 4 kB / 1.418 GB, free: 14.14 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 5.619e-05/1.051, allocations: 23.84 kB / 1.418 GB, free: 14.12 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/1.051, allocations: 23.91 kB / 1.418 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/1.051, allocations: 4 kB / 1.418 GB, free: 14.09 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001772/1.053, allocations: 0.831 MB / 1.418 GB, free: 13.26 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/1.053, allocations: 8 kB / 1.418 GB, free: 13.25 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/1.053, allocations: 15.92 kB / 1.419 GB, free: 13.23 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0008278/1.054, allocations: 459 kB / 1.419 GB, free: 12.79 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.054, allocations: 0 / 1.419 GB, free: 12.79 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.823e-06/1.054, allocations: 0 / 1.419 GB, free: 12.79 MB / 1.123 GB Notification: Performance of Transformations before backend: time 6.252e-06/1.054, allocations: 4 kB / 1.419 GB, free: 12.78 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006525/1.054, allocations: 371.2 kB / 1.419 GB, free: 12.37 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.054, allocations: 8.031 kB / 1.419 GB, free: 12.36 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.527e-05/1.054, allocations: 34.75 kB / 1.419 GB, free: 12.32 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/1.055, allocations: 16.88 kB / 1.419 GB, free: 12.3 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/1.055, allocations: 164.3 kB / 1.42 GB, free: 12.11 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/1.055, allocations: 4.375 kB / 1.42 GB, free: 12.1 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/1.055, allocations: 7.938 kB / 1.42 GB, free: 12.09 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/1.055, allocations: 57.67 kB / 1.42 GB, free: 12.03 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/1.055, allocations: 3.938 kB / 1.42 GB, free: 12.03 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/1.055, allocations: 7.984 kB / 1.42 GB, free: 12.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.055, allocations: 3.938 kB / 1.42 GB, free: 12.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.299e-05/1.055, allocations: 23.97 kB / 1.42 GB, free: 11.99 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/1.055, allocations: 157.7 kB / 1.42 GB, free: 11.79 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/1.055, allocations: 54.56 kB / 1.42 GB, free: 11.73 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/1.055, allocations: 16.84 kB / 1.42 GB, free: 11.71 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0119/1.067, allocations: 3.201 MB / 1.423 GB, free: 8.41 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/1.067, allocations: 46.44 kB / 1.423 GB, free: 8.355 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/1.067, allocations: 0 / 1.423 GB, free: 8.355 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.04718/1.115, allocations: 15 MB / 1.438 GB, free: 9.199 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/1.115, allocations: 51.41 kB / 1.438 GB, free: 9.137 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/1.115, allocations: 89.86 kB / 1.438 GB, free: 9.039 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/1.115, allocations: 29.7 kB / 1.438 GB, free: 9.004 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/1.115, allocations: 84.14 kB / 1.438 GB, free: 8.918 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/1.115, allocations: 35.69 kB / 1.438 GB, free: 8.883 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/1.115, allocations: 33.7 kB / 1.438 GB, free: 8.844 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.115, allocations: 322.9 kB / 1.438 GB, free: 8.52 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.278e-05/1.115, allocations: 27.92 kB / 1.438 GB, free: 8.492 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/1.115, allocations: 23.98 kB / 1.438 GB, free: 8.469 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/1.115, allocations: 60.8 kB / 1.438 GB, free: 8.406 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/1.115, allocations: 0 / 1.438 GB, free: 8.406 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002452/1.116, allocations: 105.6 kB / 1.438 GB, free: 8.297 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.116, allocations: 8 kB / 1.438 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.116, allocations: 0 / 1.438 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/1.116, allocations: 0 / 1.438 GB, free: 8.289 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/1.116, allocations: 27.98 kB / 1.439 GB, free: 8.262 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/1.116, allocations: 4 kB / 1.439 GB, free: 8.258 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/1.116, allocations: 0 / 1.439 GB, free: 8.258 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/1.116, allocations: 4 kB / 1.439 GB, free: 8.254 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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 0.0001157/1.116, allocations: 121.7 kB / 1.439 GB, free: 8.125 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.932e-05/1.116, allocations: 7.953 kB / 1.439 GB, free: 8.117 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/1.116, allocations: 125.4 kB / 1.439 GB, free: 7.988 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/1.116, allocations: 4 kB / 1.439 GB, free: 7.984 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.116, allocations: 0 / 1.439 GB, free: 7.984 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/1.116, allocations: 0 / 1.439 GB, free: 7.984 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/1.116, allocations: 181.6 kB / 1.439 GB, free: 7.758 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/1.116, allocations: 4 kB / 1.439 GB, free: 7.754 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001473/1.117, allocations: 27.92 kB / 1.439 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/1.117, allocations: 0 / 1.439 GB, free: 7.727 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.61e-05/1.117, allocations: 8 kB / 1.439 GB, free: 7.719 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/1.117, allocations: 3.984 kB / 1.439 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.117, allocations: 0 / 1.439 GB, free: 7.715 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/1.117, allocations: 160.9 kB / 1.439 GB, free: 7.539 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/1.117, allocations: 85.14 kB / 1.439 GB, free: 7.438 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/1.117, allocations: 7.984 kB / 1.439 GB, free: 7.43 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/1.117, allocations: 11.94 kB / 1.439 GB, free: 7.418 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/1.117, allocations: 7.984 kB / 1.439 GB, free: 7.41 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/1.117, allocations: 15.94 kB / 1.439 GB, free: 7.395 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.797e-05/1.117, allocations: 75.28 kB / 1.439 GB, free: 7.32 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/1.117, allocations: 0 / 1.439 GB, free: 7.32 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002042/1.119, allocations: 0.5699 MB / 1.44 GB, free: 6.75 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,cpSym,cvSym) * 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 (11): * Single equations (assignments): 11 * 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.004422/1.124, allocations: 0.9447 MB / 1.441 GB, free: 5.781 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000208/1.124, allocations: 63.91 kB / 1.441 GB, free: 5.719 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.124, allocations: 4 kB / 1.441 GB, free: 5.715 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 7.161e-05/1.124, allocations: 35.92 kB / 1.441 GB, free: 5.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/1.124, allocations: 8 kB / 1.441 GB, free: 5.672 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002838/1.127, allocations: 1.547 MB / 1.442 GB, free: 4.043 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/1.127, allocations: 0.6851 MB / 1.443 GB, free: 3.332 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.925e-05/1.128, allocations: 24.53 kB / 1.443 GB, free: 3.309 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/1.128, allocations: 19.44 kB / 1.443 GB, free: 3.289 MB / 1.139 GB Notification: Performance of SimCode: time 6.42e-07/1.128, allocations: 0 / 1.443 GB, free: 3.289 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06565/1.193, allocations: 25.49 MB / 1.468 GB, free: 9.844 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.023/10.22, allocations: 20.58 kB / 1.468 GB, free: 9.828 MB / 1.17 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(hVapSym) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(hVapSym) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(hVapCod) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(hVapCod) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.046744304010645]