Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001399/0.001399, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001979/0.001979, allocations: 218.9 kB / 22.24 MB, free: 5.258 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.214/3.214, allocations: 0.49 GB / 0.7951 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_12_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.002078/0.002078, allocations: 63.88 kB / 1.154 GB, free: 25.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3843, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1721/0.5564, allocations: 119.6 MB / 1.443 GB, free: 9.406 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02933/0.5857, allocations: 20.24 MB / 1.462 GB, free: 5.105 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.5859, allocations: 0 / 1.462 GB, free: 5.105 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.5862, allocations: 39.69 kB / 1.462 GB, free: 5.066 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.5866, allocations: 103.4 kB / 1.463 GB, free: 4.965 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.01894/0.6055, allocations: 6.947 MB / 1.469 GB, free: 14.03 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005174/0.606, allocations: 251.9 kB / 1.47 GB, free: 13.78 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 6.571e-05/0.6061, allocations: 5.75 kB / 1.47 GB, free: 13.77 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.6065, allocations: 151.4 kB / 1.47 GB, free: 13.62 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.6067, allocations: 87.66 kB / 1.47 GB, free: 13.54 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.6067, allocations: 8 kB / 1.47 GB, free: 13.53 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02276/0.6295, allocations: 11.55 MB / 1.481 GB, free: 1.969 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.6296, allocations: 35.89 kB / 1.481 GB, free: 1.934 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.6297, allocations: 71.67 kB / 1.481 GB, free: 1.863 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.6466, allocations: 6.478 MB / 1.488 GB, free: 11.37 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6466, allocations: 4 kB / 1.488 GB, free: 11.37 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6466, allocations: 0 / 1.488 GB, free: 11.37 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.6466, allocations: 4 kB / 1.488 GB, free: 11.36 MB / 1.186 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.003351/0.6499, allocations: 1.167 MB / 1.489 GB, free: 10.16 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.65, allocations: 8.031 kB / 1.489 GB, free: 10.15 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.923e-05/0.65, allocations: 54.73 kB / 1.489 GB, free: 10.09 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.6511, allocations: 84.7 kB / 1.489 GB, free: 10.01 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.6514, allocations: 166.3 kB / 1.489 GB, free: 9.82 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.6514, allocations: 19.92 kB / 1.489 GB, free: 9.801 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.6515, allocations: 23.94 kB / 1.489 GB, free: 9.777 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.6528, allocations: 0.6664 MB / 1.49 GB, free: 9.043 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.6528, allocations: 0 / 1.49 GB, free: 9.043 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.6529, allocations: 8 kB / 1.49 GB, free: 9.035 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6529, allocations: 4 kB / 1.49 GB, free: 9.031 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.6543, allocations: 0.6087 MB / 1.49 GB, free: 8.422 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001115/0.6554, allocations: 0.7381 MB / 1.491 GB, free: 7.629 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009281/0.6563, allocations: 238.3 kB / 1.491 GB, free: 7.387 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.6564, allocations: 64.83 kB / 1.491 GB, free: 7.32 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0885/0.7449, allocations: 23.36 MB / 1.514 GB, free: 15.91 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.745, allocations: 38.56 kB / 1.514 GB, free: 15.87 MB / 1.217 GB Notification: Performance of pre-optimization done (n=25): time 1.874e-06/0.745, allocations: 4 kB / 1.514 GB, free: 15.86 MB / 1.217 GB Notification: Performance of matching and sorting (n=25): time 0.001855/0.7468, allocations: 419.6 kB / 1.515 GB, free: 15.45 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.7469, allocations: 59.34 kB / 1.515 GB, free: 15.38 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.747, allocations: 139.8 kB / 1.515 GB, free: 15.23 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.7471, allocations: 33.7 kB / 1.515 GB, free: 15.2 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 9.147e-05/0.7472, allocations: 112.4 kB / 1.515 GB, free: 15.08 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 8.803e-05/0.7473, allocations: 87.2 kB / 1.515 GB, free: 15 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.7474, allocations: 77.67 kB / 1.515 GB, free: 14.91 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7476, allocations: 330.8 kB / 1.515 GB, free: 14.58 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.7478, allocations: 79.95 kB / 1.515 GB, free: 14.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.748, allocations: 129.1 kB / 1.516 GB, free: 14.36 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.7485, allocations: 215.7 kB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.7485, allocations: 4 kB / 1.516 GB, free: 14.13 MB / 1.217 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008324/0.7493, allocations: 297.3 kB / 1.516 GB, free: 13.83 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.7494, allocations: 8.156 kB / 1.516 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.7494, allocations: 4 kB / 1.516 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.7494, allocations: 0 / 1.516 GB, free: 13.82 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003606/0.7498, allocations: 79.88 kB / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.7498, allocations: 4 kB / 1.516 GB, free: 13.74 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.75, allocations: 27.72 kB / 1.516 GB, free: 13.71 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.75, allocations: 31.97 kB / 1.516 GB, free: 13.68 MB / 1.217 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.0002069/0.7502, allocations: 122.4 kB / 1.516 GB, free: 13.55 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/0.7504, allocations: 11.95 kB / 1.516 GB, free: 13.54 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003034/0.7535, allocations: 2.495 MB / 1.519 GB, free: 11.03 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.526e-05/0.7535, allocations: 15.98 kB / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.7535, allocations: 0 / 1.519 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.7535, allocations: 7.922 kB / 1.519 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00403/0.7575, allocations: 3.575 MB / 1.522 GB, free: 7.324 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.7575, allocations: 0 / 1.522 GB, free: 7.324 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.7578, allocations: 59.88 kB / 1.522 GB, free: 7.266 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/0.7579, allocations: 7.938 kB / 1.522 GB, free: 7.258 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.7579, allocations: 4 kB / 1.522 GB, free: 7.254 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/0.7579, allocations: 7.938 kB / 1.522 GB, free: 7.246 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7579, allocations: 0 / 1.522 GB, free: 7.246 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.7588, allocations: 0.5584 MB / 1.523 GB, free: 6.672 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.7589, allocations: 63.58 kB / 1.523 GB, free: 6.609 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.759, allocations: 15.92 kB / 1.523 GB, free: 6.594 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.7592, allocations: 8 kB / 1.523 GB, free: 6.586 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.7593, allocations: 19.97 kB / 1.523 GB, free: 6.566 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.372e-05/0.7593, allocations: 11.98 kB / 1.523 GB, free: 6.555 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0001019/0.7594, allocations: 104.7 kB / 1.523 GB, free: 6.453 MB / 1.217 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7594, allocations: 0 / 1.523 GB, free: 6.453 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.00469/0.7641, allocations: 1.719 MB / 1.525 GB, free: 4.73 MB / 1.217 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.00943/0.7735, allocations: 2.965 MB / 1.528 GB, free: 1.738 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0007412/0.7743, allocations: 320.5 kB / 1.528 GB, free: 1.426 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7743, allocations: 0 / 1.528 GB, free: 1.426 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/0.7746, allocations: 193.5 kB / 1.528 GB, free: 1.238 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.7751, allocations: 65.98 kB / 1.528 GB, free: 1.176 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.7811, allocations: 3.103 MB / 1.531 GB, free: 13.96 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.7813, allocations: 156.7 kB / 1.531 GB, free: 13.78 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000585/0.7819, allocations: 413.1 kB / 1.532 GB, free: 13.38 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.7821, allocations: 95.38 kB / 1.532 GB, free: 13.29 MB / 1.232 GB Notification: Performance of SimCode: time 6.91e-07/0.7821, allocations: 0 / 1.532 GB, free: 13.29 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1244/0.9065, allocations: 64.4 MB / 1.595 GB, free: 12.99 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/16.25, allocations: 7.391 kB / 1.595 GB, free: 12.99 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamProperties.fmu > Buildings_12_Buildings.Media.Examples.SteamProperties.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.938983592001023]