Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001364/0.001364, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001787/0.001787, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.537/1.537, allocations: 230.6 MB / 256 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.853/2.853, allocations: 476.8 MB / 0.7707 GB, free: 4.309 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Media_Examples_SteamDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamDerivativeCheck,fileNamePrefix="Buildings_11_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.002001/0.002001, allocations: 68.53 kB / 1.117 GB, free: 40.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3418, allocations: 170 MB / 1.283 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002459/0.3443, allocations: 1.284 MB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.5139, allocations: 141 MB / 1.422 GB, free: 12.98 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.351e-05/0.5139, allocations: 4 kB / 1.422 GB, free: 12.97 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 2.24e-05/0.514, allocations: 0 / 1.422 GB, free: 12.97 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.514, allocations: 7.922 kB / 1.422 GB, free: 12.96 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.5153, allocations: 465.8 kB / 1.423 GB, free: 12.51 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.5154, allocations: 43.84 kB / 1.423 GB, free: 12.47 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.5155, allocations: 4 kB / 1.423 GB, free: 12.46 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.5155, allocations: 27.97 kB / 1.423 GB, free: 12.44 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.5156, allocations: 19.92 kB / 1.423 GB, free: 12.42 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.5156, allocations: 0 / 1.423 GB, free: 12.42 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.5171, allocations: 0.8348 MB / 1.424 GB, free: 11.58 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.5172, allocations: 15.97 kB / 1.424 GB, free: 11.57 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.5172, allocations: 15.94 kB / 1.424 GB, free: 11.55 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0006226/0.5178, allocations: 451 kB / 1.424 GB, free: 11.11 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5178, allocations: 0 / 1.424 GB, free: 11.11 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5178, allocations: 0 / 1.424 GB, free: 11.11 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5178, allocations: 0 / 1.424 GB, free: 11.11 MB / 1.123 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.0006043/0.5184, allocations: 298.1 kB / 1.424 GB, free: 10.79 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.5185, allocations: 8.031 kB / 1.424 GB, free: 10.78 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.059e-05/0.5185, allocations: 46.73 kB / 1.424 GB, free: 10.73 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002115/0.5187, allocations: 12.89 kB / 1.424 GB, free: 10.71 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.5188, allocations: 106.5 kB / 1.425 GB, free: 10.59 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-06/0.5188, allocations: 4.375 kB / 1.425 GB, free: 10.58 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.5189, allocations: 15.92 kB / 1.425 GB, free: 10.57 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.519, allocations: 49.69 kB / 1.425 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.519, allocations: 4 kB / 1.425 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.519, allocations: 0 / 1.425 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.519, allocations: 0 / 1.425 GB, free: 10.51 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.791e-05/0.5191, allocations: 31.91 kB / 1.425 GB, free: 10.48 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.5193, allocations: 140.6 kB / 1.425 GB, free: 10.3 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.5194, allocations: 50.5 kB / 1.425 GB, free: 10.24 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.5194, allocations: 16.84 kB / 1.425 GB, free: 10.22 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0115/0.5309, allocations: 2.856 MB / 1.428 GB, free: 7.359 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.531, allocations: 34.56 kB / 1.428 GB, free: 7.316 MB / 1.123 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.531, allocations: 0 / 1.428 GB, free: 7.316 MB / 1.123 GB Notification: Performance of matching and sorting (n=11): time 0.04148/0.5724, allocations: 14.93 MB / 1.442 GB, free: 8.25 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.5725, allocations: 51.41 kB / 1.442 GB, free: 8.188 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.5726, allocations: 97.86 kB / 1.442 GB, free: 8.082 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.5726, allocations: 25.7 kB / 1.442 GB, free: 8.051 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.5726, allocations: 88.08 kB / 1.442 GB, free: 7.961 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.5727, allocations: 35.69 kB / 1.443 GB, free: 7.926 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.5727, allocations: 33.7 kB / 1.443 GB, free: 7.887 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5729, allocations: 318.8 kB / 1.443 GB, free: 7.566 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.5729, allocations: 23.98 kB / 1.443 GB, free: 7.543 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.644e-05/0.573, allocations: 23.98 kB / 1.443 GB, free: 7.52 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.5731, allocations: 58.61 kB / 1.443 GB, free: 7.461 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.5731, allocations: 4 kB / 1.443 GB, free: 7.457 MB / 1.139 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000233/0.5733, allocations: 117.2 kB / 1.443 GB, free: 7.34 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5733, allocations: 6.188 kB / 1.443 GB, free: 7.336 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.5733, allocations: 0 / 1.443 GB, free: 7.336 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.5733, allocations: 0 / 1.443 GB, free: 7.336 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.5735, allocations: 27.98 kB / 1.443 GB, free: 7.309 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5735, allocations: 0 / 1.443 GB, free: 7.309 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.5735, allocations: 8 kB / 1.443 GB, free: 7.301 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.5735, allocations: 4 kB / 1.443 GB, free: 7.297 MB / 1.139 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.532e-05/0.5736, allocations: 121.7 kB / 1.443 GB, free: 7.168 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.237e-05/0.5737, allocations: 7.953 kB / 1.443 GB, free: 7.16 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002782/0.5739, allocations: 129.3 kB / 1.443 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5739, allocations: 0 / 1.443 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.574, allocations: 0 / 1.443 GB, free: 7.027 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.574, allocations: 3.984 kB / 1.443 GB, free: 7.023 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001713/0.5741, allocations: 156.7 kB / 1.444 GB, free: 6.828 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.5741, allocations: 0 / 1.444 GB, free: 6.828 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.5743, allocations: 23.94 kB / 1.444 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.5743, allocations: 4 kB / 1.444 GB, free: 6.801 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.5743, allocations: 7.984 kB / 1.444 GB, free: 6.793 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.5743, allocations: 0 / 1.444 GB, free: 6.793 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5743, allocations: 0 / 1.444 GB, free: 6.793 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.5746, allocations: 161 kB / 1.444 GB, free: 6.617 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.572e-05/0.5746, allocations: 16.02 kB / 1.444 GB, free: 6.602 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.5746, allocations: 8 kB / 1.444 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.5748, allocations: 8 kB / 1.444 GB, free: 6.586 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.5748, allocations: 3.984 kB / 1.444 GB, free: 6.582 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.5748, allocations: 11.98 kB / 1.444 GB, free: 6.57 MB / 1.139 GB Notification: Performance of sorting global known variables: time 3.853e-05/0.5749, allocations: 79.28 kB / 1.444 GB, free: 6.492 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/0.5749, allocations: 0 / 1.444 GB, free: 6.492 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001626/0.5765, allocations: 0.57 MB / 1.444 GB, free: 5.922 MB / 1.139 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.003547/0.58, allocations: 0.9401 MB / 1.445 GB, free: 4.953 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0001841/0.5802, allocations: 59.91 kB / 1.445 GB, free: 4.895 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5802, allocations: 0 / 1.445 GB, free: 4.895 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 6.75e-05/0.5803, allocations: 35.92 kB / 1.445 GB, free: 4.859 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.5805, allocations: 11.94 kB / 1.445 GB, free: 4.848 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.5828, allocations: 1.553 MB / 1.447 GB, free: 3.215 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.5831, allocations: 0.6924 MB / 1.448 GB, free: 2.496 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 8.133e-05/0.5832, allocations: 20.55 kB / 1.448 GB, free: 2.477 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.01e-05/0.5833, allocations: 27.41 kB / 1.448 GB, free: 2.449 MB / 1.139 GB Notification: Performance of SimCode: time 4.71e-07/0.5833, allocations: 0 / 1.448 GB, free: 2.449 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06355/0.6468, allocations: 25.65 MB / 1.473 GB, free: 8.902 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.62, allocations: 2.875 kB / 1.473 GB, free: 8.902 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Media_Examples_SteamDerivativeCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(hVapSym) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(hVapCod) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(hVapCod) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cpSym) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cpSym) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cvSym) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cvSym) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.SteamDerivativeCheck_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 22.385551441000644]