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.001827/0.001827, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002932/0.002932, allocations: 220 kB / 22.26 MB, free: 5.125 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.957 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.971/2.971, allocations: 476.7 MB / 0.7707 GB, free: 4.238 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamProperties",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.002045/0.002045, allocations: 66.16 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3115, allocations: 170 MB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1663/0.4778, allocations: 139.4 MB / 1.42 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.03244/0.5103, allocations: 22.87 MB / 1.442 GB, free: 8.762 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.5104, allocations: 0 / 1.442 GB, free: 8.762 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.5108, allocations: 47.67 kB / 1.442 GB, free: 8.715 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003261/0.5111, allocations: 99.34 kB / 1.442 GB, free: 8.617 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0182/0.5293, allocations: 6.975 MB / 1.449 GB, free: 1.656 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.0004979/0.5298, allocations: 259.8 kB / 1.449 GB, free: 1.402 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 6.039e-05/0.5298, allocations: 5.75 kB / 1.449 GB, free: 1.398 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004109/0.5302, allocations: 143.4 kB / 1.449 GB, free: 1.258 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.5305, allocations: 95.66 kB / 1.449 GB, free: 1.164 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.5305, allocations: 12 kB / 1.449 GB, free: 1.152 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02422/0.5547, allocations: 11.71 MB / 1.461 GB, free: 5.426 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.5548, allocations: 31.89 kB / 1.461 GB, free: 5.395 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.555, allocations: 83.59 kB / 1.461 GB, free: 5.312 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01603/0.571, allocations: 6.513 MB / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.571, allocations: 0 / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.854e-06/0.571, allocations: 0 / 1.467 GB, free: 14.79 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.571, allocations: 0 / 1.467 GB, free: 14.79 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.004395/0.5754, allocations: 1.167 MB / 1.468 GB, free: 13.58 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.5755, allocations: 8.031 kB / 1.468 GB, free: 13.57 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.5756, allocations: 62.67 kB / 1.468 GB, free: 13.5 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.5768, allocations: 80.77 kB / 1.468 GB, free: 13.43 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004815/0.5773, allocations: 174.2 kB / 1.469 GB, free: 13.23 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.5773, allocations: 15.94 kB / 1.469 GB, free: 13.21 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.743e-05/0.5774, allocations: 16 kB / 1.469 GB, free: 13.2 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.5787, allocations: 478.2 kB / 1.469 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.5788, allocations: 3.984 kB / 1.469 GB, free: 12.71 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.5788, allocations: 8 kB / 1.469 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.5788, allocations: 7.984 kB / 1.469 GB, free: 12.7 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.5801, allocations: 0.6127 MB / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.5814, allocations: 0.858 MB / 1.471 GB, free: 11.14 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008625/0.5823, allocations: 239.7 kB / 1.471 GB, free: 10.9 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.5824, allocations: 60.83 kB / 1.471 GB, free: 10.84 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08563/0.668, allocations: 23.3 MB / 1.494 GB, free: 3.496 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.191e-05/0.6681, allocations: 34.56 kB / 1.494 GB, free: 3.453 MB / 1.186 GB Notification: Performance of pre-optimization done (n=25): time 1.683e-06/0.6681, allocations: 11.88 kB / 1.494 GB, free: 3.441 MB / 1.186 GB Notification: Performance of matching and sorting (n=25): time 0.001813/0.6699, allocations: 418.1 kB / 1.494 GB, free: 3.027 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.6699, allocations: 63.34 kB / 1.494 GB, free: 2.953 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.6701, allocations: 137.8 kB / 1.494 GB, free: 2.809 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 4.18e-05/0.6701, allocations: 33.7 kB / 1.494 GB, free: 2.77 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.6702, allocations: 116.4 kB / 1.494 GB, free: 2.652 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.6703, allocations: 87.28 kB / 1.494 GB, free: 2.566 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.6704, allocations: 69.67 kB / 1.495 GB, free: 2.492 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6705, allocations: 326.8 kB / 1.495 GB, free: 2.164 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.6707, allocations: 87.94 kB / 1.495 GB, free: 2.078 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.671, allocations: 126.3 kB / 1.495 GB, free: 1.938 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004534/0.6714, allocations: 226.2 kB / 1.495 GB, free: 1.703 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6714, allocations: 0 / 1.495 GB, free: 1.703 MB / 1.186 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007705/0.6722, allocations: 297.3 kB / 1.496 GB, free: 1.406 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6722, allocations: 10.81 kB / 1.496 GB, free: 1.398 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6722, allocations: 0 / 1.496 GB, free: 1.398 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.6722, allocations: 4 kB / 1.496 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.6725, allocations: 83.88 kB / 1.496 GB, free: 1.312 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.6726, allocations: 12.09 kB / 1.496 GB, free: 1.301 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.6727, allocations: 23.77 kB / 1.496 GB, free: 1.277 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.6728, allocations: 27.97 kB / 1.496 GB, free: 1.25 MB / 1.186 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.0001377/0.6729, allocations: 121.8 kB / 1.496 GB, free: 1.121 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.6731, allocations: 19.91 kB / 1.496 GB, free: 1.102 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002915/0.676, allocations: 2.49 MB / 1.498 GB, free: 14.6 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/0.676, allocations: 11.98 kB / 1.498 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.676, allocations: 0 / 1.498 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.676, allocations: 7.938 kB / 1.498 GB, free: 14.58 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/0.68, allocations: 3.598 MB / 1.502 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.68, allocations: 0 / 1.502 GB, free: 10.88 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.6803, allocations: 55.94 kB / 1.502 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.6803, allocations: 7.938 kB / 1.502 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.6803, allocations: 4 kB / 1.502 GB, free: 10.81 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6803, allocations: 7.938 kB / 1.502 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.6803, allocations: 0 / 1.502 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000868/0.6812, allocations: 0.5552 MB / 1.502 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.6813, allocations: 67.52 kB / 1.503 GB, free: 10.17 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.6814, allocations: 11.94 kB / 1.503 GB, free: 10.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.6816, allocations: 11.98 kB / 1.503 GB, free: 10.14 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.6816, allocations: 19.97 kB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.241e-05/0.6817, allocations: 15.98 kB / 1.503 GB, free: 10.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 8.612e-05/0.6817, allocations: 103.3 kB / 1.503 GB, free: 10.01 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6817, allocations: 0 / 1.503 GB, free: 10.01 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.004898/0.6866, allocations: 1.723 MB / 1.504 GB, free: 8.281 MB / 1.201 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.01002/0.6967, allocations: 2.953 MB / 1.507 GB, free: 5.293 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0009494/0.6976, allocations: 317.3 kB / 1.508 GB, free: 4.98 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.6976, allocations: 7.938 kB / 1.508 GB, free: 4.973 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.6979, allocations: 188.5 kB / 1.508 GB, free: 4.789 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.6986, allocations: 68.2 kB / 1.508 GB, free: 4.723 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006619/0.7052, allocations: 3.099 MB / 1.511 GB, free: 1.512 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/0.7056, allocations: 0.766 MB / 1.512 GB, free: 0.7227 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.000581/0.7062, allocations: 413.2 kB / 1.512 GB, free: 324 kB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.7064, allocations: 103.4 kB / 1.512 GB, free: 220 kB / 1.201 GB Notification: Performance of SimCode: time 8.72e-07/0.7064, allocations: 0 / 1.512 GB, free: 220 kB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1255/0.8319, allocations: 63.79 MB / 1.574 GB, free: 0.5156 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.52, allocations: 5.891 kB / 1.574 GB, free: 0.5117 MB / 1.264 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: 23.63036745879799]