Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001508/0.001508, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001659/0.001659, allocations: 223.7 kB / 23.05 MB, free: 5.074 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.293/3.293, allocations: 0.5003 GB / 0.8062 GB, free: 26.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_SteamProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_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.002041/0.002041, allocations: 68.31 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4065, allocations: 179 MB / 1.345 GB, free: 416 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1817/0.5883, allocations: 139.4 MB / 1.481 GB, free: 4.48 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03354/0.6218, allocations: 22.88 MB / 1.504 GB, free: 13.52 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.6221, allocations: 3.938 kB / 1.504 GB, free: 13.51 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.6225, allocations: 51.67 kB / 1.504 GB, free: 13.46 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004079/0.6229, allocations: 95.41 kB / 1.504 GB, free: 13.37 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.02043/0.6433, allocations: 6.985 MB / 1.511 GB, free: 6.398 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0005203/0.6438, allocations: 255.8 kB / 1.511 GB, free: 6.148 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 6.42e-05/0.6439, allocations: 9.734 kB / 1.511 GB, free: 6.141 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003844/0.6443, allocations: 151.4 kB / 1.511 GB, free: 5.992 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.6445, allocations: 91.66 kB / 1.511 GB, free: 5.902 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.6445, allocations: 11.94 kB / 1.511 GB, free: 5.891 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0255/0.67, allocations: 11.7 MB / 1.523 GB, free: 10.18 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.6701, allocations: 35.89 kB / 1.523 GB, free: 10.14 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.6703, allocations: 83.66 kB / 1.523 GB, free: 10.06 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01776/0.6881, allocations: 6.505 MB / 1.529 GB, free: 3.543 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.6881, allocations: 7.984 kB / 1.529 GB, free: 3.535 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6881, allocations: 0 / 1.529 GB, free: 3.535 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.6881, allocations: 0 / 1.529 GB, free: 3.535 MB / 1.217 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.004062/0.6922, allocations: 1.167 MB / 1.53 GB, free: 2.332 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6922, allocations: 12.03 kB / 1.53 GB, free: 2.32 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.221e-05/0.6922, allocations: 4.188 kB / 1.53 GB, free: 2.316 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.6923, allocations: 54.67 kB / 1.53 GB, free: 2.254 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.6934, allocations: 80.77 kB / 1.53 GB, free: 2.176 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.6937, allocations: 182 kB / 1.531 GB, free: 1.973 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.6937, allocations: 12 kB / 1.531 GB, free: 1.961 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.637e-05/0.6937, allocations: 16 kB / 1.531 GB, free: 1.945 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.6949, allocations: 472.5 kB / 1.531 GB, free: 1.465 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.6949, allocations: 0 / 1.531 GB, free: 1.465 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.695, allocations: 8 kB / 1.531 GB, free: 1.457 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.695, allocations: 4 kB / 1.531 GB, free: 1.453 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.6963, allocations: 0.6244 MB / 1.532 GB, free: 0.8281 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.6975, allocations: 0.8502 MB / 1.533 GB, free: 15.9 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008484/0.6983, allocations: 239.8 kB / 1.533 GB, free: 15.66 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/0.6985, allocations: 64.77 kB / 1.533 GB, free: 15.59 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08942/0.7879, allocations: 23.29 MB / 1.556 GB, free: 8.254 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/0.7879, allocations: 42.5 kB / 1.556 GB, free: 8.203 MB / 1.248 GB Notification: Performance of pre-optimization done (n=25): time 2.284e-06/0.7879, allocations: 0 / 1.556 GB, free: 8.203 MB / 1.248 GB Notification: Performance of matching and sorting (n=25): time 0.001853/0.7898, allocations: 425.3 kB / 1.556 GB, free: 7.781 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.7898, allocations: 51.41 kB / 1.556 GB, free: 7.719 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.79, allocations: 141.8 kB / 1.556 GB, free: 7.57 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 4.86e-05/0.79, allocations: 33.7 kB / 1.556 GB, free: 7.531 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.7901, allocations: 112.4 kB / 1.556 GB, free: 7.418 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-05/0.7902, allocations: 95.2 kB / 1.556 GB, free: 7.324 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.7903, allocations: 69.67 kB / 1.557 GB, free: 7.25 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.7904, allocations: 326.8 kB / 1.557 GB, free: 6.922 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.7906, allocations: 87.94 kB / 1.557 GB, free: 6.836 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.7909, allocations: 133 kB / 1.557 GB, free: 6.688 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.7914, allocations: 213.9 kB / 1.557 GB, free: 6.461 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.7914, allocations: 0 / 1.557 GB, free: 6.461 MB / 1.248 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008113/0.7922, allocations: 313.2 kB / 1.558 GB, free: 6.148 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7922, allocations: 5.719 kB / 1.558 GB, free: 6.145 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.7922, allocations: 0 / 1.558 GB, free: 6.145 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.7923, allocations: 4 kB / 1.558 GB, free: 6.141 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.7926, allocations: 79.88 kB / 1.558 GB, free: 6.062 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/0.7926, allocations: 7.938 kB / 1.558 GB, free: 6.055 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.7928, allocations: 19.84 kB / 1.558 GB, free: 6.035 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.7928, allocations: 31.97 kB / 1.558 GB, free: 6.004 MB / 1.248 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.0001427/0.7929, allocations: 125.9 kB / 1.558 GB, free: 5.871 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.7931, allocations: 19.91 kB / 1.558 GB, free: 5.852 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/0.7958, allocations: 2.483 MB / 1.56 GB, free: 3.363 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/0.7958, allocations: 15.97 kB / 1.56 GB, free: 3.348 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.7958, allocations: 3.938 kB / 1.56 GB, free: 3.344 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.7959, allocations: 4 kB / 1.56 GB, free: 3.34 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003701/0.7996, allocations: 3.598 MB / 1.564 GB, free: 15.63 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.7996, allocations: 4 kB / 1.564 GB, free: 15.63 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.7998, allocations: 59.89 kB / 1.564 GB, free: 15.57 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/0.7999, allocations: 7.922 kB / 1.564 GB, free: 15.56 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.7999, allocations: 8 kB / 1.564 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.7999, allocations: 3.938 kB / 1.564 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.7999, allocations: 3.938 kB / 1.564 GB, free: 15.55 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.8007, allocations: 0.5584 MB / 1.564 GB, free: 14.97 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.8009, allocations: 67.52 kB / 1.564 GB, free: 14.91 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.8009, allocations: 8 kB / 1.564 GB, free: 14.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.8011, allocations: 11.98 kB / 1.564 GB, free: 14.89 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.8012, allocations: 19.97 kB / 1.565 GB, free: 14.87 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.8012, allocations: 15.98 kB / 1.565 GB, free: 14.85 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0001003/0.8013, allocations: 103.3 kB / 1.565 GB, free: 14.75 MB / 1.264 GB Notification: Performance of sort global known variables: time 8e-08/0.8013, allocations: 0 / 1.565 GB, free: 14.75 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004919/0.8062, allocations: 1.715 MB / 1.566 GB, free: 13.03 MB / 1.264 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.01022/0.8164, allocations: 2.963 MB / 1.569 GB, free: 10.04 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0008599/0.8173, allocations: 316.3 kB / 1.569 GB, free: 9.73 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.8173, allocations: 4 kB / 1.569 GB, free: 9.727 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.8176, allocations: 189.5 kB / 1.57 GB, free: 9.543 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006435/0.8182, allocations: 72.17 kB / 1.57 GB, free: 9.473 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007187/0.8254, allocations: 3.094 MB / 1.573 GB, free: 6.262 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.826, allocations: 0.7621 MB / 1.574 GB, free: 5.473 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0007338/0.8267, allocations: 401.2 kB / 1.574 GB, free: 5.078 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.827, allocations: 99.39 kB / 1.574 GB, free: 4.98 MB / 1.264 GB Notification: Performance of SimCode: time 1.513e-06/0.827, allocations: 3.938 kB / 1.574 GB, free: 4.977 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8849/1.712, allocations: 63.82 MB / 1.636 GB, free: 228.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.82/17.53, allocations: 12.09 kB / 1.636 GB, free: 228.1 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 25.091167901002336]