Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001683/0.001683, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001635/0.001635, allocations: 215.4 kB / 22.25 MB, free: 5.082 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.34/1.34, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.967/2.967, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.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.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_latest_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.001918/0.001918, allocations: 70 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3223, allocations: 180.2 MB / 1.353 GB, free: 8.48 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002416/0.3248, allocations: 1.3 MB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.153/0.4777, allocations: 141 MB / 1.492 GB, free: 9.664 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.4778, allocations: 4 kB / 1.492 GB, free: 9.66 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.4778, allocations: 0 / 1.492 GB, free: 9.66 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 4.087e-05/0.4778, allocations: 7.938 kB / 1.492 GB, free: 9.652 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.4791, allocations: 470.5 kB / 1.492 GB, free: 9.191 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.4791, allocations: 43.83 kB / 1.492 GB, free: 9.148 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.135e-05/0.4792, allocations: 4 kB / 1.492 GB, free: 9.145 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.657e-05/0.4792, allocations: 27.86 kB / 1.492 GB, free: 9.117 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.4793, allocations: 19.97 kB / 1.492 GB, free: 9.098 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.4793, allocations: 4 kB / 1.492 GB, free: 9.094 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.4808, allocations: 0.8348 MB / 1.493 GB, free: 8.258 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.497e-05/0.4808, allocations: 7.984 kB / 1.493 GB, free: 8.25 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.4808, allocations: 19.92 kB / 1.493 GB, free: 8.23 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0005924/0.4814, allocations: 451 kB / 1.494 GB, free: 7.789 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4814, allocations: 0 / 1.494 GB, free: 7.789 MB / 1.186 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4814, allocations: 0 / 1.494 GB, free: 7.789 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4814, allocations: 0 / 1.494 GB, free: 7.789 MB / 1.186 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.0004974/0.4819, allocations: 302.1 kB / 1.494 GB, free: 7.465 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.482, allocations: 8.031 kB / 1.494 GB, free: 7.457 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.482, allocations: 34.75 kB / 1.494 GB, free: 7.414 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.4822, allocations: 8.938 kB / 1.494 GB, free: 7.406 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.959e-05/0.4823, allocations: 118.5 kB / 1.494 GB, free: 7.266 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4823, allocations: 4.375 kB / 1.494 GB, free: 7.262 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.4823, allocations: 11.89 kB / 1.494 GB, free: 7.25 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4824, allocations: 57.61 kB / 1.494 GB, free: 7.188 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.4825, allocations: 0 / 1.494 GB, free: 7.188 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.4825, allocations: 4 kB / 1.494 GB, free: 7.184 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-06/0.4825, allocations: 0 / 1.494 GB, free: 7.184 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.005e-05/0.4825, allocations: 19.97 kB / 1.494 GB, free: 7.164 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001649/0.4827, allocations: 136.8 kB / 1.494 GB, free: 6.988 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.4828, allocations: 54.5 kB / 1.494 GB, free: 6.926 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.4828, allocations: 16.84 kB / 1.494 GB, free: 6.906 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01081/0.4936, allocations: 2.856 MB / 1.497 GB, free: 4.047 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.692e-05/0.4937, allocations: 38.5 kB / 1.497 GB, free: 4 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.4937, allocations: 0 / 1.497 GB, free: 4 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.04157/0.5353, allocations: 14.94 MB / 1.512 GB, free: 4.926 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.5353, allocations: 51.41 kB / 1.512 GB, free: 4.863 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.492e-05/0.5354, allocations: 89.86 kB / 1.512 GB, free: 4.766 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.5354, allocations: 33.7 kB / 1.512 GB, free: 4.727 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.5354, allocations: 84.27 kB / 1.512 GB, free: 4.641 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.422e-05/0.5355, allocations: 39.64 kB / 1.512 GB, free: 4.602 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.5355, allocations: 37.7 kB / 1.512 GB, free: 4.559 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.5357, allocations: 314.8 kB / 1.512 GB, free: 4.242 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.5357, allocations: 23.98 kB / 1.512 GB, free: 4.219 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.314e-05/0.5358, allocations: 27.92 kB / 1.512 GB, free: 4.191 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.5359, allocations: 64.73 kB / 1.512 GB, free: 4.125 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.5359, allocations: 0 / 1.512 GB, free: 4.125 MB / 1.201 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000234/0.5361, allocations: 101.7 kB / 1.513 GB, free: 4.02 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5362, allocations: 12 kB / 1.513 GB, free: 4.008 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5362, allocations: 0 / 1.513 GB, free: 4.008 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.5362, allocations: 0 / 1.513 GB, free: 4.008 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.5363, allocations: 27.98 kB / 1.513 GB, free: 3.98 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.5363, allocations: 0 / 1.513 GB, free: 3.98 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.446e-05/0.5363, allocations: 0 / 1.513 GB, free: 3.98 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.5363, allocations: 8 kB / 1.513 GB, free: 3.973 MB / 1.201 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.0001267/0.5364, allocations: 125.7 kB / 1.513 GB, free: 3.84 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.5365, allocations: 7.953 kB / 1.513 GB, free: 3.832 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002484/0.5367, allocations: 121.4 kB / 1.513 GB, free: 3.707 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.5368, allocations: 7.984 kB / 1.513 GB, free: 3.699 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.5368, allocations: 4 kB / 1.513 GB, free: 3.695 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.5368, allocations: 3.938 kB / 1.513 GB, free: 3.691 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.5369, allocations: 148.7 kB / 1.513 GB, free: 3.504 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.5369, allocations: 0 / 1.513 GB, free: 3.504 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.537, allocations: 35.92 kB / 1.513 GB, free: 3.469 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.537, allocations: 0 / 1.513 GB, free: 3.469 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.537, allocations: 4 kB / 1.513 GB, free: 3.465 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.537, allocations: 0 / 1.513 GB, free: 3.465 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.537, allocations: 0 / 1.513 GB, free: 3.465 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.5373, allocations: 161 kB / 1.513 GB, free: 3.289 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 4.361e-05/0.5374, allocations: 11.98 kB / 1.513 GB, free: 3.277 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.5374, allocations: 0 / 1.513 GB, free: 3.277 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.5375, allocations: 12 kB / 1.513 GB, free: 3.266 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.5376, allocations: 15.92 kB / 1.513 GB, free: 3.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.5376, allocations: 11.92 kB / 1.513 GB, free: 3.238 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.227e-05/0.5376, allocations: 75.28 kB / 1.513 GB, free: 3.164 MB / 1.201 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5376, allocations: 4 kB / 1.513 GB, free: 3.16 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001613/0.5392, allocations: 0.566 MB / 1.514 GB, free: 2.594 MB / 1.201 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.003414/0.5426, allocations: 0.9424 MB / 1.515 GB, free: 1.625 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.5428, allocations: 67.91 kB / 1.515 GB, free: 1.559 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.5428, allocations: 0 / 1.515 GB, free: 1.559 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 6.231e-05/0.5429, allocations: 32.36 kB / 1.515 GB, free: 1.527 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.5431, allocations: 10.09 kB / 1.515 GB, free: 1.52 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.5452, allocations: 1.545 MB / 1.516 GB, free: 15.89 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.5455, allocations: 0.6885 MB / 1.517 GB, free: 15.18 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 7.959e-05/0.5456, allocations: 28.53 kB / 1.517 GB, free: 15.15 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.5456, allocations: 27.42 kB / 1.517 GB, free: 15.12 MB / 1.217 GB Notification: Performance of SimCode: time 7.22e-07/0.5456, allocations: 4 kB / 1.517 GB, free: 15.12 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05994/0.6056, allocations: 25.62 MB / 1.542 GB, free: 5.59 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.78, allocations: 16.31 kB / 1.542 GB, free: 5.578 MB / 1.232 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-10 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(hVapSym) from file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(hVapCod) in file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(hVapCod) from file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.475156636000065]