Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.SteamProperties.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.001314/0.001314, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001518/0.001518, allocations: 218.4 kB / 23.03 MB, free: 4.922 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.871/2.871, allocations: 476.8 MB / 0.7715 GB, free: 3.848 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.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",fmuType="cs",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.002016/0.002016, allocations: 65.05 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3719, allocations: 170 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1772/0.5491, allocations: 119.5 MB / 1.401 GB, free: 2.566 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02937/0.5785, allocations: 20.22 MB / 1.421 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.5786, allocations: 4 kB / 1.421 GB, free: 14.28 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.5789, allocations: 47.69 kB / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0003173/0.5792, allocations: 95.36 kB / 1.421 GB, free: 14.14 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.01858/0.5978, allocations: 6.935 MB / 1.427 GB, free: 7.215 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0004736/0.5983, allocations: 259.8 kB / 1.428 GB, free: 6.961 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 7.099e-05/0.5984, allocations: 5.75 kB / 1.428 GB, free: 6.957 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003592/0.5987, allocations: 139.5 kB / 1.428 GB, free: 6.82 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.5989, allocations: 95.66 kB / 1.428 GB, free: 6.727 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.5989, allocations: 8 kB / 1.428 GB, free: 6.719 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02507/0.624, allocations: 11.55 MB / 1.439 GB, free: 11.16 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.6241, allocations: 43.81 kB / 1.439 GB, free: 11.11 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.6243, allocations: 71.67 kB / 1.439 GB, free: 11.04 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.019/0.6433, allocations: 6.482 MB / 1.446 GB, free: 4.547 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.6433, allocations: 0 / 1.446 GB, free: 4.547 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6433, allocations: 0 / 1.446 GB, free: 4.547 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.6434, allocations: 0 / 1.446 GB, free: 4.547 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00391/0.6473, allocations: 1.168 MB / 1.447 GB, free: 3.344 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.6473, allocations: 12.03 kB / 1.447 GB, free: 3.332 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.273e-05/0.6473, allocations: 8.188 kB / 1.447 GB, free: 3.324 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.375e-05/0.6474, allocations: 54.67 kB / 1.447 GB, free: 3.262 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001105/0.6485, allocations: 84.75 kB / 1.447 GB, free: 3.18 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.6488, allocations: 177.8 kB / 1.447 GB, free: 2.98 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.6488, allocations: 12 kB / 1.447 GB, free: 2.969 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.6489, allocations: 12 kB / 1.447 GB, free: 2.957 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.6503, allocations: 0.6678 MB / 1.448 GB, free: 2.223 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.6503, allocations: 0 / 1.448 GB, free: 2.223 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.6503, allocations: 8 kB / 1.448 GB, free: 2.215 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.6503, allocations: 4 kB / 1.448 GB, free: 2.211 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00135/0.6517, allocations: 0.6166 MB / 1.448 GB, free: 1.594 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.6528, allocations: 0.7458 MB / 1.449 GB, free: 0.793 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009107/0.6537, allocations: 238.2 kB / 1.449 GB, free: 0.5508 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.6538, allocations: 64.83 kB / 1.449 GB, free: 496 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08668/0.7405, allocations: 23.36 MB / 1.472 GB, free: 9.082 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.247e-05/0.7406, allocations: 38.55 kB / 1.472 GB, free: 9.035 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 4.679e-06/0.7406, allocations: 3.984 kB / 1.472 GB, free: 9.031 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.001973/0.7425, allocations: 420.5 kB / 1.473 GB, free: 8.617 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.7426, allocations: 55.41 kB / 1.473 GB, free: 8.551 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.7428, allocations: 148 kB / 1.473 GB, free: 8.398 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/0.7428, allocations: 33.7 kB / 1.473 GB, free: 8.359 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.7429, allocations: 108.5 kB / 1.473 GB, free: 8.25 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.858e-05/0.743, allocations: 91.2 kB / 1.473 GB, free: 8.16 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.7431, allocations: 81.62 kB / 1.473 GB, free: 8.074 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.7433, allocations: 326.8 kB / 1.474 GB, free: 7.746 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.7435, allocations: 83.94 kB / 1.474 GB, free: 7.664 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002755/0.7438, allocations: 134.8 kB / 1.474 GB, free: 7.516 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.7443, allocations: 224.2 kB / 1.474 GB, free: 7.281 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.7443, allocations: 4 kB / 1.474 GB, free: 7.277 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008329/0.7451, allocations: 297.3 kB / 1.474 GB, free: 6.98 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.7451, allocations: 4 kB / 1.474 GB, free: 6.977 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.7452, allocations: 4 kB / 1.474 GB, free: 6.973 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.7452, allocations: 3.938 kB / 1.474 GB, free: 6.969 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.7455, allocations: 79.94 kB / 1.474 GB, free: 6.891 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.649e-05/0.7455, allocations: 11.88 kB / 1.474 GB, free: 6.879 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.7457, allocations: 23.84 kB / 1.474 GB, free: 6.855 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.466e-05/0.7458, allocations: 23.97 kB / 1.474 GB, free: 6.832 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001817/0.7459, allocations: 121.8 kB / 1.474 GB, free: 6.703 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.7461, allocations: 24 kB / 1.475 GB, free: 6.68 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003078/0.7492, allocations: 2.491 MB / 1.477 GB, free: 4.176 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.7492, allocations: 7.984 kB / 1.477 GB, free: 4.168 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/0.7493, allocations: 3.938 kB / 1.477 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7493, allocations: 0 / 1.477 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004102/0.7534, allocations: 3.575 MB / 1.48 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.7534, allocations: 0 / 1.48 GB, free: 496 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.7537, allocations: 63.88 kB / 1.481 GB, free: 432 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.7537, allocations: 7.875 kB / 1.481 GB, free: 424 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.7537, allocations: 8 kB / 1.481 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.7537, allocations: 4 kB / 1.481 GB, free: 412 kB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.7537, allocations: 4 kB / 1.481 GB, free: 408 kB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009312/0.7546, allocations: 0.5545 MB / 1.481 GB, free: 15.83 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.7548, allocations: 71.52 kB / 1.481 GB, free: 15.76 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.7548, allocations: 4 kB / 1.481 GB, free: 15.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.755, allocations: 11.98 kB / 1.481 GB, free: 15.74 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.61e-05/0.7551, allocations: 19.97 kB / 1.481 GB, free: 15.72 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.7551, allocations: 15.98 kB / 1.481 GB, free: 15.71 MB / 1.186 GB Notification: Performance of sorting global known variables: time 9.856e-05/0.7552, allocations: 105.6 kB / 1.481 GB, free: 15.61 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.7552, allocations: 0 / 1.481 GB, free: 15.61 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.005023/0.7602, allocations: 1.719 MB / 1.483 GB, free: 13.88 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01211/0.7723, allocations: 2.957 MB / 1.486 GB, free: 10.89 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.000862/0.7732, allocations: 321.3 kB / 1.486 GB, free: 10.58 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.7732, allocations: 0 / 1.486 GB, free: 10.58 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/0.7736, allocations: 196.5 kB / 1.486 GB, free: 10.39 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006422/0.7742, allocations: 68.19 kB / 1.486 GB, free: 10.32 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008028/0.7823, allocations: 3.097 MB / 1.489 GB, free: 7.109 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.7825, allocations: 152.7 kB / 1.49 GB, free: 6.941 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006338/0.7831, allocations: 409.2 kB / 1.49 GB, free: 6.543 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.7833, allocations: 103.4 kB / 1.49 GB, free: 6.441 MB / 1.186 GB Notification: Performance of SimCode: time 7.31e-07/0.7833, allocations: 3.938 kB / 1.49 GB, free: 6.438 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1235/0.9069, allocations: 64.01 MB / 1.553 GB, free: 6.566 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.01, allocations: 17.02 kB / 1.553 GB, free: 6.555 MB / 1.248 GB " [Timeout remaining time 283] (rm -f Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamProperties.fmu > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 24.437258215039037]