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.001317/0.001317, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001464/0.001464, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.98 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.2/3.2, allocations: 0.49 GB / 0.7951 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] 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: 72.88 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4171, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002745/0.4199, allocations: 1.285 MB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1964/0.6163, allocations: 141 MB / 1.465 GB, free: 3.117 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.353e-05/0.6163, allocations: 4 kB / 1.465 GB, free: 3.113 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.6164, allocations: 7.938 kB / 1.465 GB, free: 3.105 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 5.452e-05/0.6164, allocations: 7.969 kB / 1.465 GB, free: 3.098 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.6179, allocations: 466.5 kB / 1.465 GB, free: 2.641 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.759e-05/0.618, allocations: 39.86 kB / 1.465 GB, free: 2.602 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.618, allocations: 4 kB / 1.465 GB, free: 2.598 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.6181, allocations: 27.91 kB / 1.465 GB, free: 2.57 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.6182, allocations: 23.92 kB / 1.465 GB, free: 2.547 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.6182, allocations: 0 / 1.465 GB, free: 2.547 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001642/0.6198, allocations: 0.8348 MB / 1.466 GB, free: 1.711 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.6198, allocations: 15.98 kB / 1.466 GB, free: 1.695 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.306e-05/0.6199, allocations: 15.92 kB / 1.466 GB, free: 1.68 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0006284/0.6205, allocations: 451 kB / 1.467 GB, free: 1.238 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6205, allocations: 0 / 1.467 GB, free: 1.238 MB / 1.154 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6205, allocations: 0 / 1.467 GB, free: 1.238 MB / 1.154 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.6205, allocations: 0 / 1.467 GB, free: 1.238 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.0004913/0.621, allocations: 298.1 kB / 1.467 GB, free: 0.918 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.6211, allocations: 8.031 kB / 1.467 GB, free: 0.9102 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.045e-05/0.6211, allocations: 34.75 kB / 1.467 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.6213, allocations: 16.92 kB / 1.467 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.6214, allocations: 106.5 kB / 1.467 GB, free: 0.7227 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.6214, allocations: 4.375 kB / 1.467 GB, free: 0.7188 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.6214, allocations: 7.938 kB / 1.467 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.6215, allocations: 57.61 kB / 1.467 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.6215, allocations: 0 / 1.467 GB, free: 0.6484 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.6216, allocations: 4 kB / 1.467 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.6216, allocations: 0 / 1.467 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.6216, allocations: 15.98 kB / 1.467 GB, free: 0.6289 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.6218, allocations: 140.7 kB / 1.467 GB, free: 460 kB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.6219, allocations: 58.36 kB / 1.467 GB, free: 392 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.042e-05/0.6219, allocations: 16.86 kB / 1.467 GB, free: 372 kB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.6335, allocations: 2.868 MB / 1.47 GB, free: 13.49 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.664e-05/0.6335, allocations: 38.56 kB / 1.47 GB, free: 13.45 MB / 1.17 GB Notification: Performance of pre-optimization done (n=7): time 2.205e-06/0.6335, allocations: 0 / 1.47 GB, free: 13.45 MB / 1.17 GB Notification: Performance of matching and sorting (n=11): time 0.04167/0.6752, allocations: 14.91 MB / 1.485 GB, free: 14.39 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.6753, allocations: 51.41 kB / 1.485 GB, free: 14.33 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.6753, allocations: 93.84 kB / 1.485 GB, free: 14.23 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6754, allocations: 33.83 kB / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.6754, allocations: 84.14 kB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.6754, allocations: 39.62 kB / 1.485 GB, free: 14.07 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.6755, allocations: 33.67 kB / 1.485 GB, free: 14.03 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6757, allocations: 322.8 kB / 1.485 GB, free: 13.7 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.6757, allocations: 24 kB / 1.485 GB, free: 13.68 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.779e-05/0.6758, allocations: 27.92 kB / 1.485 GB, free: 13.65 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.6759, allocations: 64.34 kB / 1.486 GB, free: 13.59 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.6759, allocations: 0 / 1.486 GB, free: 13.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002123/0.6761, allocations: 97.69 kB / 1.486 GB, free: 13.49 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.6761, allocations: 9.719 kB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6761, allocations: 0 / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.6762, allocations: 0 / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001186/0.6763, allocations: 31.92 kB / 1.486 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.6763, allocations: 0 / 1.486 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.478e-05/0.6763, allocations: 0 / 1.486 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.6763, allocations: 8 kB / 1.486 GB, free: 13.44 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.0001027/0.6764, allocations: 122.3 kB / 1.486 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.6765, allocations: 11.95 kB / 1.486 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.6768, allocations: 129.2 kB / 1.486 GB, free: 13.17 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.6768, allocations: 4 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6768, allocations: 0 / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6768, allocations: 0 / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.677, allocations: 148.7 kB / 1.486 GB, free: 12.98 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.677, allocations: 4 kB / 1.486 GB, free: 12.97 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.6771, allocations: 31.98 kB / 1.486 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.6771, allocations: 0 / 1.486 GB, free: 12.94 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.6771, allocations: 7.984 kB / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6771, allocations: 0 / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.6771, allocations: 0 / 1.486 GB, free: 12.93 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/0.6774, allocations: 172.9 kB / 1.486 GB, free: 12.75 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.6775, allocations: 8.031 kB / 1.486 GB, free: 12.74 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.6775, allocations: 4 kB / 1.486 GB, free: 12.73 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.6776, allocations: 15.98 kB / 1.486 GB, free: 12.72 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.6777, allocations: 11.98 kB / 1.486 GB, free: 12.71 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.6777, allocations: 4 kB / 1.486 GB, free: 12.7 MB / 1.186 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.6777, allocations: 75.28 kB / 1.486 GB, free: 12.63 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6777, allocations: 4 kB / 1.486 GB, free: 12.62 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001879/0.6796, allocations: 0.566 MB / 1.487 GB, free: 12.06 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.003868/0.6835, allocations: 0.9439 MB / 1.488 GB, free: 11.09 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002428/0.6837, allocations: 59.97 kB / 1.488 GB, free: 11.03 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.629e-06/0.6837, allocations: 4 kB / 1.488 GB, free: 11.02 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 6.626e-05/0.6838, allocations: 31.92 kB / 1.488 GB, free: 10.99 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.684, allocations: 11.94 kB / 1.488 GB, free: 10.98 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.6868, allocations: 1.55 MB / 1.489 GB, free: 9.348 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.6871, allocations: 0.6885 MB / 1.49 GB, free: 8.633 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 9.151e-05/0.6872, allocations: 24.53 kB / 1.49 GB, free: 8.609 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.6873, allocations: 23.44 kB / 1.49 GB, free: 8.586 MB / 1.186 GB Notification: Performance of SimCode: time 9.71e-07/0.6873, allocations: 0 / 1.49 GB, free: 8.586 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07048/0.7577, allocations: 25.64 MB / 1.515 GB, free: 15.04 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.53, allocations: 13.25 kB / 1.515 GB, free: 15.04 MB / 1.217 GB " [Timeout remaining time 287] (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: 22.01923329999954]