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.001862/0.001862, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002382/0.002382, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.789 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.952/2.952, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] 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.002127/0.002127, allocations: 68.33 kB / 1.117 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3444, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002541/0.3469, allocations: 1.276 MB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.5243, allocations: 120.9 MB / 1.402 GB, free: 1.84 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.5244, allocations: 0 / 1.402 GB, free: 1.84 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 1.914e-05/0.5244, allocations: 7.938 kB / 1.402 GB, free: 1.832 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.5244, allocations: 7.938 kB / 1.402 GB, free: 1.824 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.526, allocations: 454.4 kB / 1.402 GB, free: 1.379 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.5261, allocations: 39.84 kB / 1.402 GB, free: 1.34 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.5262, allocations: 11.98 kB / 1.402 GB, free: 1.328 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.13e-05/0.5262, allocations: 23.92 kB / 1.402 GB, free: 1.305 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 7.578e-05/0.5263, allocations: 11.97 kB / 1.402 GB, free: 1.293 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.5263, allocations: 4 kB / 1.402 GB, free: 1.289 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001825/0.5281, allocations: 0.7996 MB / 1.403 GB, free: 500 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 2.289e-05/0.5281, allocations: 7.984 kB / 1.403 GB, free: 492 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.5282, allocations: 15.98 kB / 1.403 GB, free: 476 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.5289, allocations: 452.7 kB / 1.404 GB, free: 24 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5289, allocations: 0 / 1.404 GB, free: 24 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5289, allocations: 0 / 1.404 GB, free: 24 kB / 1.092 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.5289, allocations: 4 kB / 1.404 GB, free: 20 kB / 1.092 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.0005646/0.5295, allocations: 294.1 kB / 1.404 GB, free: 15.7 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.5296, allocations: 12.03 kB / 1.404 GB, free: 15.69 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.5296, allocations: 34.75 kB / 1.404 GB, free: 15.65 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001748/0.5298, allocations: 16.83 kB / 1.404 GB, free: 15.63 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.5299, allocations: 110.5 kB / 1.404 GB, free: 15.5 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.5299, allocations: 4.375 kB / 1.404 GB, free: 15.5 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.5299, allocations: 11.94 kB / 1.404 GB, free: 15.48 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.5302, allocations: 130.8 kB / 1.404 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.5302, allocations: 3.984 kB / 1.404 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.5302, allocations: 0 / 1.404 GB, free: 15.33 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5302, allocations: 4 kB / 1.404 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.604e-05/0.5303, allocations: 15.98 kB / 1.404 GB, free: 15.31 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.5306, allocations: 132.8 kB / 1.404 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.5307, allocations: 50.44 kB / 1.404 GB, free: 15.08 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.287e-05/0.5307, allocations: 16.86 kB / 1.404 GB, free: 15.06 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01213/0.5428, allocations: 2.872 MB / 1.407 GB, free: 12.18 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.5429, allocations: 38.56 kB / 1.407 GB, free: 12.14 MB / 1.107 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.5429, allocations: 0 / 1.407 GB, free: 12.14 MB / 1.107 GB Notification: Performance of matching and sorting (n=11): time 0.04542/0.5883, allocations: 14.93 MB / 1.422 GB, free: 13.07 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.349e-05/0.5884, allocations: 63.33 kB / 1.422 GB, free: 13 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.139e-05/0.5885, allocations: 93.86 kB / 1.422 GB, free: 12.9 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.5885, allocations: 29.7 kB / 1.422 GB, free: 12.86 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 4.345e-05/0.5885, allocations: 84.08 kB / 1.422 GB, free: 12.78 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.242e-05/0.5886, allocations: 39.69 kB / 1.422 GB, free: 12.74 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.5887, allocations: 29.66 kB / 1.422 GB, free: 12.7 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.5888, allocations: 326.8 kB / 1.422 GB, free: 12.38 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.5889, allocations: 23.98 kB / 1.422 GB, free: 12.35 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.344e-05/0.5889, allocations: 16 kB / 1.422 GB, free: 12.34 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.5891, allocations: 67.84 kB / 1.423 GB, free: 12.27 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5891, allocations: 0 / 1.423 GB, free: 12.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002339/0.5893, allocations: 109.7 kB / 1.423 GB, free: 12.16 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.5893, allocations: 10.34 kB / 1.423 GB, free: 12.15 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5893, allocations: 4 kB / 1.423 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.5894, allocations: 3.938 kB / 1.423 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.5895, allocations: 24 kB / 1.423 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.5895, allocations: 0 / 1.423 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.5895, allocations: 3.984 kB / 1.423 GB, free: 12.11 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.5895, allocations: 4 kB / 1.423 GB, free: 12.11 MB / 1.123 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.0001162/0.5896, allocations: 123.5 kB / 1.423 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.399e-05/0.5897, allocations: 7.953 kB / 1.423 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.59, allocations: 117.4 kB / 1.423 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.59, allocations: 4 kB / 1.423 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.59, allocations: 0 / 1.423 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.59, allocations: 0 / 1.423 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.5902, allocations: 148.7 kB / 1.423 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5902, allocations: 0 / 1.423 GB, free: 11.66 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.5903, allocations: 23.98 kB / 1.423 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5903, allocations: 0 / 1.423 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5903, allocations: 15.94 kB / 1.423 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.5903, allocations: 0 / 1.423 GB, free: 11.62 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.5903, allocations: 7.875 kB / 1.423 GB, free: 11.61 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.5907, allocations: 156.9 kB / 1.423 GB, free: 11.44 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.5907, allocations: 8.031 kB / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.5908, allocations: 4 kB / 1.423 GB, free: 11.43 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.5909, allocations: 15.98 kB / 1.423 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.5909, allocations: 3.984 kB / 1.423 GB, free: 11.41 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.5909, allocations: 12 kB / 1.423 GB, free: 11.4 MB / 1.123 GB Notification: Performance of sorting global known variables: time 6.297e-05/0.591, allocations: 79.28 kB / 1.423 GB, free: 11.32 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.591, allocations: 0 / 1.423 GB, free: 11.32 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002209/0.5932, allocations: 0.566 MB / 1.424 GB, free: 10.75 MB / 1.123 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.004802/0.598, allocations: 0.948 MB / 1.425 GB, free: 9.777 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002573/0.5983, allocations: 59.86 kB / 1.425 GB, free: 9.719 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.724e-06/0.5983, allocations: 4 kB / 1.425 GB, free: 9.715 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 9.02e-05/0.5984, allocations: 28.42 kB / 1.425 GB, free: 9.688 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.5986, allocations: 8 kB / 1.425 GB, free: 9.68 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/0.6017, allocations: 1.563 MB / 1.427 GB, free: 8.039 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.987e-05/0.6018, allocations: 71.34 kB / 1.427 GB, free: 7.949 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 9.28e-05/0.6019, allocations: 28.53 kB / 1.427 GB, free: 7.922 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.602, allocations: 19.44 kB / 1.427 GB, free: 7.902 MB / 1.123 GB Notification: Performance of SimCode: time 1.031e-06/0.602, allocations: 0 / 1.427 GB, free: 7.902 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06784/0.6698, allocations: 26.03 MB / 1.452 GB, free: 13.98 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.96, allocations: 3.938 kB / 1.452 GB, free: 13.98 MB / 1.154 GB " [Timeout remaining time 286] (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: 22.33626225264743]