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.0008355/0.0008355, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001066/0.001066, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9223/0.9223, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.706/1.706, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.583e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.6767/0.6767, allocations: 119.6 MB / 1.067 GB, free: 41.58 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.6929, allocations: 20.23 MB / 1.087 GB, free: 39.56 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.693, allocations: 0 / 1.087 GB, free: 39.56 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.6933, allocations: 50.91 kB / 1.087 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.6936, allocations: 97.56 kB / 1.087 GB, free: 39.54 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.01203/0.7056, allocations: 7.008 MB / 1.094 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.706, allocations: 256.9 kB / 1.094 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.7061, allocations: 16.92 kB / 1.094 GB, free: 38.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000372/0.7065, allocations: 188.9 kB / 1.095 GB, free: 38.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.7066, allocations: 75.88 kB / 1.095 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.7066, allocations: 10.66 kB / 1.095 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01868/0.7253, allocations: 11.12 MB / 1.105 GB, free: 35.85 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.7254, allocations: 40.91 kB / 1.105 GB, free: 35.84 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.7255, allocations: 63.52 kB / 1.106 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01941/0.7449, allocations: 8.371 MB / 1.114 GB, free: 33.64 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7449, allocations: 2.469 kB / 1.114 GB, free: 33.64 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7449, allocations: 0 / 1.114 GB, free: 33.64 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.745, allocations: 0 / 1.114 GB, free: 33.64 MB / 0.9948 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.006332/0.7513, allocations: 1.163 MB / 1.115 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.7513, allocations: 9.656 kB / 1.115 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.7513, allocations: 49.86 kB / 1.115 GB, free: 32.83 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.7519, allocations: 87.53 kB / 1.115 GB, free: 32.81 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.7522, allocations: 172.8 kB / 1.115 GB, free: 32.65 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.7522, allocations: 17.44 kB / 1.115 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.7522, allocations: 18.61 kB / 1.115 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.7529, allocations: 0.6732 MB / 1.116 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.7529, allocations: 0 / 1.116 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.753, allocations: 13.5 kB / 1.116 GB, free: 32.18 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.753, allocations: 3.688 kB / 1.116 GB, free: 32.18 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007083/0.7537, allocations: 0.6063 MB / 1.116 GB, free: 32.03 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.7542, allocations: 0.7247 MB / 1.117 GB, free: 31.44 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.7547, allocations: 242.9 kB / 1.117 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.71e-05/0.7548, allocations: 70.16 kB / 1.117 GB, free: 31.32 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04442/0.7992, allocations: 23.35 MB / 1.14 GB, free: 26.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.7992, allocations: 46.06 kB / 1.14 GB, free: 26.33 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/0.7992, allocations: 0 / 1.14 GB, free: 26.33 MB / 0.9948 GB Notification: Performance of matching and sorting (n=25): time 0.001072/0.8003, allocations: 419 kB / 1.141 GB, free: 26.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.8003, allocations: 55 kB / 1.141 GB, free: 26.05 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.946e-05/0.8004, allocations: 141.3 kB / 1.141 GB, free: 25.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.8004, allocations: 31.98 kB / 1.141 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.598e-05/0.8005, allocations: 108.2 kB / 1.141 GB, free: 25.79 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/0.8005, allocations: 92.72 kB / 1.141 GB, free: 25.71 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.435e-05/0.8006, allocations: 71.86 kB / 1.141 GB, free: 25.66 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/0.8007, allocations: 333.7 kB / 1.142 GB, free: 25.33 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.8008, allocations: 80.7 kB / 1.142 GB, free: 25.29 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.8009, allocations: 133.8 kB / 1.142 GB, free: 25.2 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.8012, allocations: 221 kB / 1.142 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8012, allocations: 0 / 1.142 GB, free: 25.06 MB / 0.9948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004588/0.8017, allocations: 299.5 kB / 1.142 GB, free: 24.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.8017, allocations: 14.75 kB / 1.142 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-06/0.8017, allocations: 0 / 1.142 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.8017, allocations: 3.375 kB / 1.142 GB, free: 24.89 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.8019, allocations: 81.59 kB / 1.142 GB, free: 24.87 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.8019, allocations: 2.281 kB / 1.142 GB, free: 24.87 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.802, allocations: 23.16 kB / 1.142 GB, free: 24.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.802, allocations: 29.56 kB / 1.142 GB, free: 24.84 MB / 0.9948 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 7.865e-05/0.8021, allocations: 133.1 kB / 1.142 GB, free: 24.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.272e-05/0.8022, allocations: 16.66 kB / 1.143 GB, free: 24.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.8037, allocations: 2.491 MB / 1.145 GB, free: 23.37 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.8037, allocations: 10.92 kB / 1.145 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.8037, allocations: 2.875 kB / 1.145 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8037, allocations: 3.984 kB / 1.145 GB, free: 23.36 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.8055, allocations: 3.583 MB / 1.148 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.8055, allocations: 0 / 1.148 GB, free: 21.23 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.8056, allocations: 63.34 kB / 1.149 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.8056, allocations: 0 / 1.149 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.8056, allocations: 6.781 kB / 1.149 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.8056, allocations: 2.031 kB / 1.149 GB, free: 21.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.8056, allocations: 7.875 kB / 1.149 GB, free: 21.19 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004209/0.806, allocations: 0.5578 MB / 1.149 GB, free: 20.84 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.166e-05/0.8061, allocations: 71.81 kB / 1.149 GB, free: 20.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.8061, allocations: 9.406 kB / 1.149 GB, free: 20.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.8062, allocations: 13.33 kB / 1.149 GB, free: 20.77 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/0.8063, allocations: 19.88 kB / 1.149 GB, free: 20.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.8063, allocations: 16.27 kB / 1.149 GB, free: 20.75 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.8063, allocations: 105.6 kB / 1.149 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.8063, allocations: 0 / 1.149 GB, free: 20.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006695/0.813, allocations: 1.718 MB / 1.151 GB, free: 20.32 MB / 0.9948 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.007469/0.8205, allocations: 3.192 MB / 1.154 GB, free: 18.88 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004622/0.8209, allocations: 321.9 kB / 1.154 GB, free: 18.74 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8209, allocations: 3.938 kB / 1.154 GB, free: 18.74 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.8211, allocations: 189.7 kB / 1.155 GB, free: 18.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003571/0.8215, allocations: 79.67 kB / 1.155 GB, free: 18.61 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003842/0.8253, allocations: 3.067 MB / 1.158 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.153e-05/0.8254, allocations: 159 kB / 1.158 GB, free: 16.29 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0003273/0.8257, allocations: 411.9 kB / 1.158 GB, free: 16.1 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.8258, allocations: 102.6 kB / 1.158 GB, free: 16.03 MB / 0.9948 GB Notification: Performance of SimCode: time 9.62e-07/0.8258, allocations: 0 / 1.158 GB, free: 16.03 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08611/0.912, allocations: 64.55 MB / 1.221 GB, free: 8.938 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.505/10.42, allocations: 9.219 kB / 1.221 GB, free: 8.934 MB / 1.042 GB " [Timeout remaining time 289] (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/jenkins/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: 14.710350300185382]