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.001454/0.001454, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001728/0.001728, allocations: 220 kB / 22.24 MB, free: 5.109 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 7.805 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.988/2.988, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 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.001962/0.001962, allocations: 66.75 kB / 1.186 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3073, allocations: 181.9 MB / 1.363 GB, free: 14.19 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002637/0.3099, allocations: 1.28 MB / 1.365 GB, free: 12.9 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1483/0.4582, allocations: 120.9 MB / 1.483 GB, free: 3.535 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.4582, allocations: 0 / 1.483 GB, free: 3.535 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.4583, allocations: 0 / 1.483 GB, free: 3.535 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 4.345e-05/0.4583, allocations: 3.938 kB / 1.483 GB, free: 3.531 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.4596, allocations: 470.5 kB / 1.483 GB, free: 3.07 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 7.937e-05/0.4597, allocations: 35.91 kB / 1.483 GB, free: 3.035 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.24e-05/0.4597, allocations: 4 kB / 1.483 GB, free: 3.031 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.961e-05/0.4598, allocations: 27.91 kB / 1.483 GB, free: 3.004 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.4599, allocations: 19.91 kB / 1.483 GB, free: 2.984 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.4599, allocations: 0 / 1.483 GB, free: 2.984 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.4614, allocations: 0.7997 MB / 1.484 GB, free: 2.184 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.4614, allocations: 19.91 kB / 1.484 GB, free: 2.164 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.456e-05/0.4614, allocations: 7.938 kB / 1.484 GB, free: 2.156 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0006172/0.462, allocations: 447 kB / 1.484 GB, free: 1.719 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.462, allocations: 4 kB / 1.484 GB, free: 1.715 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.332e-06/0.462, allocations: 0 / 1.484 GB, free: 1.715 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.462, allocations: 0 / 1.484 GB, free: 1.715 MB / 1.17 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.000444/0.4625, allocations: 294.1 kB / 1.485 GB, free: 1.398 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.4625, allocations: 8.031 kB / 1.485 GB, free: 1.391 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.4626, allocations: 34.75 kB / 1.485 GB, free: 1.348 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.4627, allocations: 16.91 kB / 1.485 GB, free: 1.332 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.532e-05/0.4628, allocations: 110.5 kB / 1.485 GB, free: 1.199 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-06/0.4628, allocations: 384 / 1.485 GB, free: 1.199 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.4629, allocations: 11.94 kB / 1.485 GB, free: 1.188 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001752/0.463, allocations: 138.7 kB / 1.485 GB, free: 1.027 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.463, allocations: 0 / 1.485 GB, free: 1.027 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.463, allocations: 4 kB / 1.485 GB, free: 1.023 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.4631, allocations: 3.938 kB / 1.485 GB, free: 1.02 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.896e-05/0.4631, allocations: 15.98 kB / 1.485 GB, free: 1.004 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.4633, allocations: 132.8 kB / 1.485 GB, free: 0.832 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 9.92e-05/0.4634, allocations: 46.5 kB / 1.485 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.4634, allocations: 28.77 kB / 1.485 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.4744, allocations: 2.872 MB / 1.488 GB, free: 13.87 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4744, allocations: 34.56 kB / 1.488 GB, free: 13.83 MB / 1.186 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.4744, allocations: 0 / 1.488 GB, free: 13.83 MB / 1.186 GB Notification: Performance of matching and sorting (n=11): time 0.04156/0.516, allocations: 14.93 MB / 1.503 GB, free: 14.76 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.516, allocations: 55.41 kB / 1.503 GB, free: 14.7 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.72e-05/0.5161, allocations: 89.86 kB / 1.503 GB, free: 14.6 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.5161, allocations: 29.7 kB / 1.503 GB, free: 14.56 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.5162, allocations: 88.27 kB / 1.503 GB, free: 14.47 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.5162, allocations: 39.64 kB / 1.503 GB, free: 14.43 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.967e-05/0.5163, allocations: 29.7 kB / 1.503 GB, free: 14.4 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.5164, allocations: 322.8 kB / 1.503 GB, free: 14.07 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.785e-05/0.5164, allocations: 23.98 kB / 1.503 GB, free: 14.05 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.5165, allocations: 22.48 kB / 1.503 GB, free: 14.03 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.5166, allocations: 64.8 kB / 1.503 GB, free: 13.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.5166, allocations: 0 / 1.503 GB, free: 13.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002069/0.5168, allocations: 105.6 kB / 1.503 GB, free: 13.86 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.5168, allocations: 8 kB / 1.503 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.5168, allocations: 0 / 1.503 GB, free: 13.85 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5169, allocations: 7.938 kB / 1.504 GB, free: 13.84 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.517, allocations: 27.98 kB / 1.504 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.517, allocations: 3.938 kB / 1.504 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.333e-05/0.517, allocations: 0 / 1.504 GB, free: 13.81 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.517, allocations: 4 kB / 1.504 GB, free: 13.8 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 8.536e-05/0.5171, allocations: 121.8 kB / 1.504 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.727e-05/0.5171, allocations: 4 kB / 1.504 GB, free: 13.67 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.5174, allocations: 125.4 kB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5174, allocations: 0 / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5174, allocations: 3.938 kB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5174, allocations: 3.984 kB / 1.504 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001531/0.5176, allocations: 148.7 kB / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5176, allocations: 0 / 1.504 GB, free: 13.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.5177, allocations: 23.98 kB / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5177, allocations: 0 / 1.504 GB, free: 13.32 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.5177, allocations: 11.98 kB / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5177, allocations: 0 / 1.504 GB, free: 13.31 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5177, allocations: 4 kB / 1.504 GB, free: 13.3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.518, allocations: 159.2 kB / 1.504 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 4.434e-05/0.518, allocations: 15.92 kB / 1.504 GB, free: 13.12 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.518, allocations: 11.98 kB / 1.504 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5182, allocations: 8 kB / 1.504 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.253e-05/0.5182, allocations: 7.984 kB / 1.504 GB, free: 13.09 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.5182, allocations: 12 kB / 1.504 GB, free: 13.08 MB / 1.201 GB Notification: Performance of sorting global known variables: time 3.919e-05/0.5183, allocations: 87.2 kB / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.5183, allocations: 0 / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001429/0.5197, allocations: 0.566 MB / 1.505 GB, free: 12.43 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.003104/0.5228, allocations: 0.94 MB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.5229, allocations: 55.97 kB / 1.506 GB, free: 11.4 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5229, allocations: 0 / 1.506 GB, free: 11.4 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 5.893e-05/0.523, allocations: 36.36 kB / 1.506 GB, free: 11.37 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.5232, allocations: 10.5 kB / 1.506 GB, free: 11.36 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.5252, allocations: 1.551 MB / 1.507 GB, free: 9.727 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.939e-05/0.5252, allocations: 79.19 kB / 1.507 GB, free: 9.629 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 8.196e-05/0.5253, allocations: 24.55 kB / 1.507 GB, free: 9.605 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.5253, allocations: 23.42 kB / 1.507 GB, free: 9.582 MB / 1.201 GB Notification: Performance of SimCode: time 4.91e-07/0.5253, allocations: 0 / 1.507 GB, free: 9.582 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0655/0.5908, allocations: 26.02 MB / 1.533 GB, free: 15.67 MB / 1.233 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.68, allocations: 4.938 kB / 1.533 GB, free: 15.67 MB / 1.233 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.088940971065313]