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.001243/0.001243, allocations: 107.3 kB / 16.46 MB, free: 6.508 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.001322/0.001322, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.378/1.378, allocations: 230.6 MB / 252.8 MB, free: 9.098 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 3.109/3.109, allocations: 0.505 GB / 0.8066 GB, free: 23.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.002009/0.002009, allocations: 65.48 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3171, allocations: 180.2 MB / 1.348 GB, free: 9.945 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002636/0.3197, allocations: 1.276 MB / 1.349 GB, free: 8.66 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.489, allocations: 140.9 MB / 1.487 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.489, allocations: 0 / 1.487 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 2.434e-05/0.489, allocations: 0 / 1.487 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 5.164e-05/0.4891, allocations: 7.922 kB / 1.487 GB, free: 11.16 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.4905, allocations: 474.5 kB / 1.487 GB, free: 10.7 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 9.61e-05/0.4906, allocations: 31.92 kB / 1.487 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.4907, allocations: 7.984 kB / 1.487 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 5.311e-05/0.4907, allocations: 27.86 kB / 1.487 GB, free: 10.63 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.4908, allocations: 23.91 kB / 1.487 GB, free: 10.61 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.4908, allocations: 3.938 kB / 1.487 GB, free: 10.6 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.4924, allocations: 0.8349 MB / 1.488 GB, free: 9.766 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 1.927e-05/0.4924, allocations: 7.984 kB / 1.488 GB, free: 9.758 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.4924, allocations: 19.92 kB / 1.488 GB, free: 9.738 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0006976/0.4931, allocations: 451 kB / 1.488 GB, free: 9.297 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4931, allocations: 0 / 1.488 GB, free: 9.297 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4931, allocations: 0 / 1.488 GB, free: 9.297 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.4931, allocations: 0 / 1.488 GB, free: 9.297 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.00058/0.4937, allocations: 375.2 kB / 1.489 GB, free: 8.883 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.4938, allocations: 15.98 kB / 1.489 GB, free: 8.867 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.309e-05/0.4938, allocations: 34.75 kB / 1.489 GB, free: 8.824 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001779/0.494, allocations: 16.92 kB / 1.489 GB, free: 8.809 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.4941, allocations: 160.4 kB / 1.489 GB, free: 8.613 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.4941, allocations: 4.375 kB / 1.489 GB, free: 8.609 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/0.4942, allocations: 15.89 kB / 1.489 GB, free: 8.594 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.4943, allocations: 57.61 kB / 1.489 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.4943, allocations: 0 / 1.489 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4943, allocations: 0 / 1.489 GB, free: 8.531 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4943, allocations: 8 kB / 1.489 GB, free: 8.523 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.377e-05/0.4944, allocations: 15.98 kB / 1.489 GB, free: 8.508 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.4946, allocations: 161.7 kB / 1.489 GB, free: 8.301 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.4947, allocations: 50.5 kB / 1.489 GB, free: 8.242 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.179e-05/0.4947, allocations: 12.86 kB / 1.489 GB, free: 8.227 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/0.5065, allocations: 3.213 MB / 1.492 GB, free: 4.918 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.5066, allocations: 34.5 kB / 1.492 GB, free: 4.875 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.5066, allocations: 4 kB / 1.493 GB, free: 4.871 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.04352/0.5501, allocations: 15 MB / 1.507 GB, free: 5.719 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.5502, allocations: 59.39 kB / 1.507 GB, free: 5.648 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.793e-05/0.5502, allocations: 97.86 kB / 1.507 GB, free: 5.543 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.5503, allocations: 25.7 kB / 1.507 GB, free: 5.512 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.5503, allocations: 80.14 kB / 1.507 GB, free: 5.43 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 5.258e-05/0.5504, allocations: 47.64 kB / 1.507 GB, free: 5.383 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.5504, allocations: 25.72 kB / 1.507 GB, free: 5.352 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5506, allocations: 326.8 kB / 1.508 GB, free: 5.023 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.104e-05/0.5506, allocations: 19.98 kB / 1.508 GB, free: 5.004 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.5507, allocations: 24.12 kB / 1.508 GB, free: 4.98 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.5508, allocations: 75.09 kB / 1.508 GB, free: 4.906 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.5508, allocations: 0 / 1.508 GB, free: 4.906 MB / 1.201 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002383/0.551, allocations: 101.6 kB / 1.508 GB, free: 4.801 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5511, allocations: 7.984 kB / 1.508 GB, free: 4.793 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.5511, allocations: 0 / 1.508 GB, free: 4.793 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.5511, allocations: 4 kB / 1.508 GB, free: 4.789 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.5512, allocations: 24 kB / 1.508 GB, free: 4.766 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5512, allocations: 0 / 1.508 GB, free: 4.766 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.139e-05/0.5512, allocations: 7.984 kB / 1.508 GB, free: 4.758 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.5513, allocations: 4 kB / 1.508 GB, free: 4.754 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.0001091/0.5514, allocations: 125.7 kB / 1.508 GB, free: 4.621 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.323e-05/0.5514, allocations: 3.953 kB / 1.508 GB, free: 4.617 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.5517, allocations: 117.6 kB / 1.508 GB, free: 4.496 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.5517, allocations: 0 / 1.508 GB, free: 4.496 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5517, allocations: 3.938 kB / 1.508 GB, free: 4.492 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.5517, allocations: 8 kB / 1.508 GB, free: 4.484 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.5519, allocations: 181.6 kB / 1.508 GB, free: 4.258 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5519, allocations: 0 / 1.508 GB, free: 4.258 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.552, allocations: 27.92 kB / 1.508 GB, free: 4.23 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.552, allocations: 3.984 kB / 1.508 GB, free: 4.227 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.552, allocations: 4 kB / 1.508 GB, free: 4.223 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.552, allocations: 0 / 1.508 GB, free: 4.223 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.552, allocations: 0 / 1.508 GB, free: 4.223 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.5524, allocations: 153 kB / 1.509 GB, free: 4.055 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.5524, allocations: 89.14 kB / 1.509 GB, free: 3.949 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.5525, allocations: 4 kB / 1.509 GB, free: 3.945 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.5526, allocations: 19.92 kB / 1.509 GB, free: 3.926 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.5526, allocations: 15.86 kB / 1.509 GB, free: 3.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.5527, allocations: 4 kB / 1.509 GB, free: 3.906 MB / 1.201 GB Notification: Performance of sorting global known variables: time 4.437e-05/0.5527, allocations: 79.28 kB / 1.509 GB, free: 3.828 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5527, allocations: 4.094 kB / 1.509 GB, free: 3.824 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002029/0.5547, allocations: 0.566 MB / 1.509 GB, free: 3.258 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.004348/0.5591, allocations: 0.9361 MB / 1.51 GB, free: 2.293 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001861/0.5593, allocations: 63.92 kB / 1.51 GB, free: 2.23 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5593, allocations: 0 / 1.51 GB, free: 2.23 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.5593, allocations: 35.92 kB / 1.51 GB, free: 2.195 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.5595, allocations: 8.656 kB / 1.51 GB, free: 2.188 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.5621, allocations: 1.563 MB / 1.512 GB, free: 0.5469 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.5625, allocations: 0.6846 MB / 1.513 GB, free: 15.84 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 8.25e-05/0.5625, allocations: 28.53 kB / 1.513 GB, free: 15.81 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.775e-05/0.5626, allocations: 15.44 kB / 1.513 GB, free: 15.79 MB / 1.217 GB Notification: Performance of SimCode: time 3.8e-07/0.5626, allocations: 4 kB / 1.513 GB, free: 15.79 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06758/0.6302, allocations: 25.48 MB / 1.538 GB, free: 6.367 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.565/9.195, allocations: 0 / 1.538 GB, free: 6.367 MB / 1.232 GB " [Timeout remaining time 291] (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: 18.02473672805354]