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.001689/0.001689, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.002204/0.002204, allocations: 217 kB / 22.25 MB, free: 5.105 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 7.84 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.042/3.042, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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.002024/0.002024, allocations: 64.66 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 176.1 MB / 1.326 GB, free: 1.578 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002784/0.3382, allocations: 1.269 MB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.158/0.4963, allocations: 120.9 MB / 1.445 GB, free: 6.93 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.4963, allocations: 4 kB / 1.445 GB, free: 6.926 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.4963, allocations: 0 / 1.445 GB, free: 6.926 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.4964, allocations: 3.938 kB / 1.445 GB, free: 6.922 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.4976, allocations: 470.5 kB / 1.446 GB, free: 6.461 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 9.292e-05/0.4977, allocations: 47.83 kB / 1.446 GB, free: 6.414 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.4978, allocations: 4 kB / 1.446 GB, free: 6.41 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.4978, allocations: 19.98 kB / 1.446 GB, free: 6.391 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.4979, allocations: 15.91 kB / 1.446 GB, free: 6.375 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.4979, allocations: 4 kB / 1.446 GB, free: 6.371 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001373/0.4993, allocations: 0.8231 MB / 1.446 GB, free: 5.547 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.4993, allocations: 7.984 kB / 1.446 GB, free: 5.539 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.4993, allocations: 19.92 kB / 1.446 GB, free: 5.52 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0005567/0.4999, allocations: 447 kB / 1.447 GB, free: 5.082 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.4999, allocations: 0 / 1.447 GB, free: 5.082 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4999, allocations: 4 kB / 1.447 GB, free: 5.078 MB / 1.139 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.4999, allocations: 0 / 1.447 GB, free: 5.078 MB / 1.139 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.0004732/0.5003, allocations: 299.2 kB / 1.447 GB, free: 4.758 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.5004, allocations: 12.03 kB / 1.447 GB, free: 4.746 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.953e-05/0.5004, allocations: 30.75 kB / 1.447 GB, free: 4.707 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.5006, allocations: 12.92 kB / 1.447 GB, free: 4.695 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.527e-05/0.5007, allocations: 110.5 kB / 1.447 GB, free: 4.562 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.5007, allocations: 4.375 kB / 1.447 GB, free: 4.559 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.5007, allocations: 11.94 kB / 1.447 GB, free: 4.547 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.5009, allocations: 134.8 kB / 1.448 GB, free: 4.391 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.5009, allocations: 0 / 1.448 GB, free: 4.391 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.5009, allocations: 0 / 1.448 GB, free: 4.391 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.5009, allocations: 7.938 kB / 1.448 GB, free: 4.383 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.463e-05/0.501, allocations: 19.92 kB / 1.448 GB, free: 4.363 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001646/0.5012, allocations: 140.7 kB / 1.448 GB, free: 4.184 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.5013, allocations: 50.5 kB / 1.448 GB, free: 4.125 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.5013, allocations: 20.84 kB / 1.448 GB, free: 4.102 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01087/0.5122, allocations: 2.864 MB / 1.451 GB, free: 1.234 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.802e-05/0.5122, allocations: 38.5 kB / 1.451 GB, free: 1.188 MB / 1.139 GB Notification: Performance of pre-optimization done (n=7): time 2.254e-06/0.5122, allocations: 4 kB / 1.451 GB, free: 1.184 MB / 1.139 GB Notification: Performance of matching and sorting (n=11): time 0.04077/0.553, allocations: 14.91 MB / 1.465 GB, free: 2.137 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.5531, allocations: 55.41 kB / 1.465 GB, free: 2.07 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.5531, allocations: 93.86 kB / 1.465 GB, free: 1.969 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5532, allocations: 29.83 kB / 1.465 GB, free: 1.934 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.113e-05/0.5532, allocations: 80.14 kB / 1.465 GB, free: 1.852 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.5532, allocations: 43.69 kB / 1.465 GB, free: 1.809 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/0.5533, allocations: 33.66 kB / 1.465 GB, free: 1.77 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5535, allocations: 318.8 kB / 1.466 GB, free: 1.449 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.845e-05/0.5535, allocations: 31.92 kB / 1.466 GB, free: 1.418 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.5536, allocations: 23.98 kB / 1.466 GB, free: 1.395 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.5537, allocations: 56.86 kB / 1.466 GB, free: 1.336 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.5537, allocations: 0 / 1.466 GB, free: 1.336 MB / 1.154 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002247/0.5539, allocations: 108 kB / 1.466 GB, free: 1.227 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5539, allocations: 8 kB / 1.466 GB, free: 1.219 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.5539, allocations: 4 kB / 1.466 GB, free: 1.215 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.554, allocations: 0 / 1.466 GB, free: 1.215 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.5541, allocations: 23.98 kB / 1.466 GB, free: 1.191 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.5541, allocations: 3.984 kB / 1.466 GB, free: 1.188 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.995e-05/0.5541, allocations: 8 kB / 1.466 GB, free: 1.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.5541, allocations: 4 kB / 1.466 GB, free: 1.176 MB / 1.154 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 9.348e-05/0.5542, allocations: 122.2 kB / 1.466 GB, free: 1.047 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.527e-05/0.5543, allocations: 7.953 kB / 1.466 GB, free: 1.039 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.5545, allocations: 129.3 kB / 1.466 GB, free: 0.9062 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5545, allocations: 4 kB / 1.466 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5545, allocations: 0 / 1.466 GB, free: 0.9023 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.5545, allocations: 3.984 kB / 1.466 GB, free: 0.8984 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.5547, allocations: 140.7 kB / 1.466 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5547, allocations: 3.984 kB / 1.466 GB, free: 0.7148 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.5548, allocations: 27.94 kB / 1.466 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.5548, allocations: 0 / 1.466 GB, free: 0.6875 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.5548, allocations: 7.984 kB / 1.466 GB, free: 0.6797 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5548, allocations: 4 kB / 1.466 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5548, allocations: 0 / 1.466 GB, free: 0.6758 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.5552, allocations: 153 kB / 1.467 GB, free: 0.5078 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.5552, allocations: 16.03 kB / 1.467 GB, free: 0.4922 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.847e-05/0.5552, allocations: 7.984 kB / 1.467 GB, free: 496 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.5554, allocations: 15.94 kB / 1.467 GB, free: 480 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.5554, allocations: 4.078 kB / 1.467 GB, free: 476 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.5554, allocations: 11.97 kB / 1.467 GB, free: 464 kB / 1.154 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.5554, allocations: 83.28 kB / 1.467 GB, free: 380 kB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5554, allocations: 0 / 1.467 GB, free: 380 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001628/0.5571, allocations: 0.566 MB / 1.467 GB, free: 15.8 MB / 1.17 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.002994/0.56, allocations: 0.9403 MB / 1.468 GB, free: 14.84 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0001694/0.5602, allocations: 71.89 kB / 1.468 GB, free: 14.77 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5602, allocations: 4 kB / 1.468 GB, free: 14.76 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 5.714e-05/0.5603, allocations: 23.98 kB / 1.468 GB, free: 14.74 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.5605, allocations: 11.94 kB / 1.468 GB, free: 14.73 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.5626, allocations: 1.543 MB / 1.47 GB, free: 13.1 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.004e-05/0.5626, allocations: 83.31 kB / 1.47 GB, free: 13 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 7.791e-05/0.5627, allocations: 24.55 kB / 1.47 GB, free: 12.98 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.5628, allocations: 27.42 kB / 1.47 GB, free: 12.95 MB / 1.17 GB Notification: Performance of SimCode: time 5.01e-07/0.5628, allocations: 0 / 1.47 GB, free: 12.95 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07449/0.6372, allocations: 26.07 MB / 1.495 GB, free: 2.988 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.89, allocations: 0 / 1.495 GB, free: 2.988 MB / 1.186 GB " [Timeout remaining time 288] (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: 20.557090282003628]