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.001677/0.001677, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001559/0.001559, allocations: 214.7 kB / 22.24 MB, free: 5.262 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.465/1.465, allocations: 230.6 MB / 256 MB, free: 7.777 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.8/2.8, allocations: 476 MB / 0.7699 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 177] 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.002156/0.002156, allocations: 65.52 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3403, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1677/0.508, allocations: 119.6 MB / 1.399 GB, free: 4.312 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03974/0.5477, allocations: 20.24 MB / 1.419 GB, free: 12 kB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.548, allocations: 0 / 1.419 GB, free: 12 kB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0004743/0.5485, allocations: 43.8 kB / 1.419 GB, free: 15.96 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.0005395/0.549, allocations: 99.36 kB / 1.419 GB, free: 15.87 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.03337/0.5824, allocations: 6.946 MB / 1.426 GB, free: 8.941 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0006027/0.583, allocations: 247.9 kB / 1.426 GB, free: 8.699 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.5831, allocations: 9.734 kB / 1.426 GB, free: 8.691 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.5836, allocations: 143.5 kB / 1.426 GB, free: 8.551 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002617/0.5838, allocations: 83.59 kB / 1.427 GB, free: 8.469 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.5839, allocations: 8 kB / 1.427 GB, free: 8.461 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0256/0.6095, allocations: 11.12 MB / 1.437 GB, free: 13.33 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001309/0.6096, allocations: 47.75 kB / 1.437 GB, free: 13.28 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.6097, allocations: 67.8 kB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01815/0.6279, allocations: 6.482 MB / 1.444 GB, free: 6.719 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.6279, allocations: 0 / 1.444 GB, free: 6.719 MB / 1.139 GB Notification: Performance of FrontEnd: time 3.085e-06/0.6279, allocations: 4 kB / 1.444 GB, free: 6.715 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.6279, allocations: 4 kB / 1.444 GB, free: 6.711 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.004528/0.6324, allocations: 1.166 MB / 1.445 GB, free: 5.508 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.6325, allocations: 8.031 kB / 1.445 GB, free: 5.5 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.043e-05/0.6326, allocations: 54.73 kB / 1.445 GB, free: 5.438 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.6337, allocations: 84.75 kB / 1.445 GB, free: 5.355 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.634, allocations: 166.3 kB / 1.445 GB, free: 5.168 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.634, allocations: 19.94 kB / 1.445 GB, free: 5.148 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.997e-05/0.634, allocations: 20 kB / 1.445 GB, free: 5.129 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/0.6354, allocations: 0.6677 MB / 1.446 GB, free: 4.395 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.6354, allocations: 0 / 1.446 GB, free: 4.395 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.6354, allocations: 8 kB / 1.446 GB, free: 4.387 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.6354, allocations: 4 kB / 1.446 GB, free: 4.383 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.6367, allocations: 0.6049 MB / 1.447 GB, free: 3.777 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.6378, allocations: 0.7303 MB / 1.447 GB, free: 2.992 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.6386, allocations: 238.4 kB / 1.448 GB, free: 2.75 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.6388, allocations: 68.83 kB / 1.448 GB, free: 2.68 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09138/0.7301, allocations: 23.36 MB / 1.47 GB, free: 11.27 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.7302, allocations: 34.56 kB / 1.47 GB, free: 11.22 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 3.076e-06/0.7302, allocations: 7.938 kB / 1.47 GB, free: 11.21 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.001886/0.7321, allocations: 420.3 kB / 1.471 GB, free: 10.8 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.7321, allocations: 55.41 kB / 1.471 GB, free: 10.73 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.7323, allocations: 144.1 kB / 1.471 GB, free: 10.59 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.7323, allocations: 29.7 kB / 1.471 GB, free: 10.55 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 9.217e-05/0.7324, allocations: 116.4 kB / 1.471 GB, free: 10.43 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-05/0.7325, allocations: 91.2 kB / 1.471 GB, free: 10.34 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.7326, allocations: 73.67 kB / 1.471 GB, free: 10.27 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.7328, allocations: 326.8 kB / 1.472 GB, free: 9.938 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001885/0.733, allocations: 83.94 kB / 1.472 GB, free: 9.855 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.7333, allocations: 130.3 kB / 1.472 GB, free: 9.711 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004784/0.7337, allocations: 224.5 kB / 1.472 GB, free: 9.477 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7337, allocations: 0 / 1.472 GB, free: 9.477 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008003/0.7345, allocations: 301.3 kB / 1.472 GB, free: 9.176 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.7346, allocations: 4 kB / 1.472 GB, free: 9.172 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7346, allocations: 8.156 kB / 1.472 GB, free: 9.164 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.7346, allocations: 4 kB / 1.472 GB, free: 9.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.7349, allocations: 79.88 kB / 1.472 GB, free: 9.082 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.7349, allocations: 7.938 kB / 1.472 GB, free: 9.074 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.7351, allocations: 19.83 kB / 1.472 GB, free: 9.055 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.016e-05/0.7351, allocations: 31.97 kB / 1.472 GB, free: 9.023 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.0001702/0.7353, allocations: 125.8 kB / 1.473 GB, free: 8.891 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.7355, allocations: 19.84 kB / 1.473 GB, free: 8.871 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002957/0.7384, allocations: 2.483 MB / 1.475 GB, free: 6.375 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.7384, allocations: 15.98 kB / 1.475 GB, free: 6.359 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7385, allocations: 0 / 1.475 GB, free: 6.359 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.7385, allocations: 7.875 kB / 1.475 GB, free: 6.352 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004085/0.7425, allocations: 3.575 MB / 1.479 GB, free: 2.672 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7425, allocations: 0 / 1.479 GB, free: 2.672 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002701/0.7428, allocations: 59.89 kB / 1.479 GB, free: 2.613 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/0.7428, allocations: 7.922 kB / 1.479 GB, free: 2.605 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.7429, allocations: 8 kB / 1.479 GB, free: 2.598 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.7429, allocations: 4 kB / 1.479 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7429, allocations: 0 / 1.479 GB, free: 2.594 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009512/0.7438, allocations: 0.5545 MB / 1.479 GB, free: 2.023 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.7439, allocations: 67.58 kB / 1.479 GB, free: 1.957 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.744, allocations: 11.94 kB / 1.479 GB, free: 1.945 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.7442, allocations: 15.92 kB / 1.479 GB, free: 1.93 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.7442, allocations: 19.97 kB / 1.479 GB, free: 1.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.7443, allocations: 15.98 kB / 1.479 GB, free: 1.895 MB / 1.17 GB Notification: Performance of sorting global known variables: time 9.201e-05/0.7444, allocations: 103.3 kB / 1.479 GB, free: 1.793 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.7444, allocations: 0 / 1.479 GB, free: 1.793 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.00477/0.7491, allocations: 1.715 MB / 1.481 GB, free: 76 kB / 1.17 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.009538/0.7587, allocations: 2.961 MB / 1.484 GB, free: 13.08 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0007574/0.7594, allocations: 321.2 kB / 1.484 GB, free: 12.77 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7594, allocations: 4.125 kB / 1.484 GB, free: 12.77 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.000305/0.7597, allocations: 189.5 kB / 1.484 GB, free: 12.58 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.7603, allocations: 70.98 kB / 1.485 GB, free: 12.52 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/0.7669, allocations: 3.093 MB / 1.488 GB, free: 9.309 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.7671, allocations: 156.7 kB / 1.488 GB, free: 9.137 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0006262/0.7677, allocations: 409.2 kB / 1.488 GB, free: 8.738 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.7679, allocations: 95.39 kB / 1.488 GB, free: 8.645 MB / 1.186 GB Notification: Performance of SimCode: time 1.122e-06/0.7679, allocations: 0 / 1.488 GB, free: 8.645 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1281/0.8961, allocations: 64.24 MB / 1.551 GB, free: 8.527 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/16.59, allocations: 5.344 kB / 1.551 GB, free: 8.527 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: 23.662163431290537]