Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001287/0.001287, allocations: 111 kB / 16.46 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.001453/0.001453, 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.089/3.089, allocations: 0.49 GB / 0.7916 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_12_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.001981/0.001981, allocations: 71.27 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.332, allocations: 176.1 MB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002326/0.3343, allocations: 1.289 MB / 1.322 GB, free: 2.066 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1647/0.499, allocations: 140.9 MB / 1.46 GB, free: 4.586 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.4991, allocations: 0 / 1.46 GB, free: 4.586 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 3.491e-05/0.4991, allocations: 7.875 kB / 1.46 GB, free: 4.578 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.663e-05/0.4992, allocations: 7.922 kB / 1.46 GB, free: 4.57 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.5014, allocations: 474.6 kB / 1.46 GB, free: 4.105 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.5016, allocations: 43.83 kB / 1.46 GB, free: 4.062 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.5016, allocations: 0 / 1.46 GB, free: 4.062 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.5017, allocations: 23.92 kB / 1.46 GB, free: 4.039 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.5019, allocations: 23.91 kB / 1.46 GB, free: 4.016 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.5019, allocations: 0 / 1.46 GB, free: 4.016 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.5042, allocations: 0.8387 MB / 1.461 GB, free: 3.176 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.752e-05/0.5043, allocations: 7.984 kB / 1.461 GB, free: 3.168 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.805e-05/0.5043, allocations: 19.92 kB / 1.461 GB, free: 3.148 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0009684/0.5053, allocations: 443 kB / 1.461 GB, free: 2.715 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.5053, allocations: 0 / 1.461 GB, free: 2.715 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5053, allocations: 0 / 1.461 GB, free: 2.715 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.5053, allocations: 0 / 1.461 GB, free: 2.715 MB / 1.154 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.0007244/0.506, allocations: 379.2 kB / 1.462 GB, free: 2.297 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.5061, allocations: 11.98 kB / 1.462 GB, free: 2.285 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.5061, allocations: 38.73 kB / 1.462 GB, free: 2.238 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.5063, allocations: 12.92 kB / 1.462 GB, free: 2.227 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001351/0.5065, allocations: 168.3 kB / 1.462 GB, free: 2.023 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.5065, allocations: 384 / 1.462 GB, free: 2.023 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.5065, allocations: 15.92 kB / 1.462 GB, free: 2.008 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001936/0.5067, allocations: 49.69 kB / 1.462 GB, free: 1.953 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5067, allocations: 4 kB / 1.462 GB, free: 1.949 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.5067, allocations: 0 / 1.462 GB, free: 1.949 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.5067, allocations: 4 kB / 1.462 GB, free: 1.945 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.5068, allocations: 19.97 kB / 1.462 GB, free: 1.926 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.5071, allocations: 161.6 kB / 1.462 GB, free: 1.719 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.5072, allocations: 54.44 kB / 1.462 GB, free: 1.656 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.5072, allocations: 20.84 kB / 1.462 GB, free: 1.633 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.5191, allocations: 3.205 MB / 1.466 GB, free: 14.33 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.5191, allocations: 34.8 kB / 1.466 GB, free: 14.29 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.5191, allocations: 0 / 1.466 GB, free: 14.29 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.04411/0.5632, allocations: 15 MB / 1.48 GB, free: 15.14 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.714e-05/0.5633, allocations: 59.41 kB / 1.48 GB, free: 15.07 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.972e-05/0.5633, allocations: 93.86 kB / 1.48 GB, free: 14.96 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5634, allocations: 25.7 kB / 1.48 GB, free: 14.93 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.5634, allocations: 88.08 kB / 1.48 GB, free: 14.84 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.5634, allocations: 43.64 kB / 1.48 GB, free: 14.8 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/0.5635, allocations: 33.64 kB / 1.481 GB, free: 14.76 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.5637, allocations: 326.7 kB / 1.481 GB, free: 14.43 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.944e-05/0.5637, allocations: 24.11 kB / 1.481 GB, free: 14.41 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.899e-05/0.5638, allocations: 25.61 kB / 1.481 GB, free: 14.39 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.5639, allocations: 60.86 kB / 1.481 GB, free: 14.32 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.5639, allocations: 0 / 1.481 GB, free: 14.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002343/0.5642, allocations: 107.4 kB / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.5642, allocations: 4 kB / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.5642, allocations: 4 kB / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5642, allocations: 0 / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.5643, allocations: 27.92 kB / 1.481 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5643, allocations: 0 / 1.481 GB, free: 14.18 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.857e-05/0.5643, allocations: 8 kB / 1.481 GB, free: 14.17 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5644, allocations: 4 kB / 1.481 GB, free: 14.17 MB / 1.186 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.0001044/0.5645, allocations: 117.8 kB / 1.481 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.5645, allocations: 3.953 kB / 1.481 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002979/0.5648, allocations: 125.4 kB / 1.481 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.5648, allocations: 4 kB / 1.481 GB, free: 13.91 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.5648, allocations: 4 kB / 1.481 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.5648, allocations: 3.984 kB / 1.481 GB, free: 13.9 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/0.565, allocations: 177.6 kB / 1.481 GB, free: 13.68 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.565, allocations: 3.984 kB / 1.481 GB, free: 13.67 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.5651, allocations: 23.98 kB / 1.482 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5651, allocations: 0 / 1.482 GB, free: 13.65 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.5651, allocations: 11.92 kB / 1.482 GB, free: 13.64 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5651, allocations: 4 kB / 1.482 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5651, allocations: 0 / 1.482 GB, free: 13.63 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.5655, allocations: 156.9 kB / 1.482 GB, free: 13.46 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.5655, allocations: 89.12 kB / 1.482 GB, free: 13.36 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.5656, allocations: 3.938 kB / 1.482 GB, free: 13.35 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.5657, allocations: 12 kB / 1.482 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.5657, allocations: 7.984 kB / 1.482 GB, free: 13.33 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.5657, allocations: 8 kB / 1.482 GB, free: 13.32 MB / 1.186 GB Notification: Performance of sorting global known variables: time 3.754e-05/0.5658, allocations: 79.28 kB / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5658, allocations: 0 / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001869/0.5677, allocations: 0.566 MB / 1.482 GB, free: 12.68 MB / 1.186 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.004155/0.5718, allocations: 0.9439 MB / 1.483 GB, free: 11.71 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.572, allocations: 56.42 kB / 1.483 GB, free: 11.65 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.572, allocations: 4 kB / 1.483 GB, free: 11.65 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 6.944e-05/0.5721, allocations: 35.92 kB / 1.483 GB, free: 11.61 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001842/0.5723, allocations: 12.2 kB / 1.483 GB, free: 11.6 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.5749, allocations: 1.556 MB / 1.485 GB, free: 9.969 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.5753, allocations: 0.6885 MB / 1.486 GB, free: 9.254 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 8.336e-05/0.5754, allocations: 20.55 kB / 1.486 GB, free: 9.234 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.5754, allocations: 19.44 kB / 1.486 GB, free: 9.215 MB / 1.186 GB Notification: Performance of SimCode: time 1.102e-06/0.5754, allocations: 0 / 1.486 GB, free: 9.215 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07821/0.6536, allocations: 25.5 MB / 1.511 GB, free: 15.76 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.595/9.249, allocations: 0 / 1.511 GB, free: 15.76 MB / 1.217 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(hVapSym) from file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(hVapCod) in file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(hVapCod) from file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.102591426111758]