Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.00107, allocations: 196.6 kB / 16.53 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.397/2.397, allocations: 437.1 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 59.91 kB / 0.8693 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5777, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1337/0.7115, allocations: 136.1 MB / 1.15 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02377/0.7353, allocations: 22.68 MB / 1.172 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.7354, allocations: 0 / 1.172 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.7357, allocations: 47.67 kB / 1.172 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.736, allocations: 87.42 kB / 1.173 GB, free: 2.992 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01579/0.7518, allocations: 6.959 MB / 1.179 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.7522, allocations: 247.9 kB / 1.18 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.7522, allocations: 5.562 kB / 1.18 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002739/0.7525, allocations: 143.4 kB / 1.18 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.7526, allocations: 99.59 kB / 1.18 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.7527, allocations: 8 kB / 1.18 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01907/0.7717, allocations: 11.33 MB / 1.191 GB, free: 212 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.709e-05/0.7719, allocations: 35.89 kB / 1.191 GB, free: 176 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.772, allocations: 79.66 kB / 1.191 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.7859, allocations: 6.495 MB / 1.197 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.7859, allocations: 0 / 1.197 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7859, allocations: 0 / 1.197 GB, free: 9.586 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.786, allocations: 4 kB / 1.197 GB, free: 9.582 MB / 0.9512 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.002888/0.7888, allocations: 1.193 MB / 1.199 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.7889, allocations: 12.02 kB / 1.199 GB, free: 8.328 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.7889, allocations: 46.75 kB / 1.199 GB, free: 8.273 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.79, allocations: 88.59 kB / 1.199 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.7902, allocations: 228.1 kB / 1.199 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.7902, allocations: 23.92 kB / 1.199 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.7902, allocations: 12 kB / 1.199 GB, free: 7.891 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.7913, allocations: 456.5 kB / 1.199 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.7913, allocations: 0 / 1.199 GB, free: 7.426 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.7914, allocations: 4 kB / 1.199 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.7914, allocations: 4 kB / 1.199 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.7925, allocations: 0.6008 MB / 1.2 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009658/0.7935, allocations: 0.8783 MB / 1.201 GB, free: 5.852 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000798/0.7943, allocations: 251.7 kB / 1.201 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.7944, allocations: 72.83 kB / 1.201 GB, free: 5.523 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08489/0.8793, allocations: 35.04 MB / 1.235 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.8794, allocations: 46.44 kB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 1.693e-06/0.8794, allocations: 0 / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001709/0.8811, allocations: 419.7 kB / 1.236 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.8811, allocations: 55.34 kB / 1.236 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.8812, allocations: 143.6 kB / 1.236 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.8813, allocations: 29.7 kB / 1.236 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.8814, allocations: 108.4 kB / 1.236 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.8814, allocations: 90.73 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.8815, allocations: 81.56 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.8816, allocations: 326.8 kB / 1.237 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.8818, allocations: 79.95 kB / 1.237 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.8821, allocations: 129.5 kB / 1.237 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.8825, allocations: 219.5 kB / 1.237 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8826, allocations: 0 / 1.237 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008072/0.8834, allocations: 297.3 kB / 1.237 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.8834, allocations: 8 kB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8834, allocations: 0 / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8834, allocations: 4 kB / 1.237 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.8837, allocations: 79.88 kB / 1.237 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.8837, allocations: 11.97 kB / 1.237 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.8839, allocations: 23.69 kB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.8839, allocations: 23.98 kB / 1.237 GB, free: 13.15 MB / 0.9981 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.0001223/0.8841, allocations: 127.8 kB / 1.238 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.8842, allocations: 27.8 kB / 1.238 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.8864, allocations: 2.343 MB / 1.24 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.8864, allocations: 19.98 kB / 1.24 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.8864, allocations: 0 / 1.24 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.8864, allocations: 7.922 kB / 1.24 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/0.8892, allocations: 3.419 MB / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.8892, allocations: 0 / 1.243 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/0.8895, allocations: 55.89 kB / 1.243 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.8895, allocations: 7.938 kB / 1.243 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.8895, allocations: 8 kB / 1.243 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.8895, allocations: 3.984 kB / 1.243 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8895, allocations: 0 / 1.243 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006941/0.8902, allocations: 0.5495 MB / 1.244 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.8904, allocations: 144.5 kB / 1.244 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.8904, allocations: 11.94 kB / 1.244 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.8906, allocations: 11.98 kB / 1.244 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.8907, allocations: 15.98 kB / 1.244 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.8907, allocations: 19.98 kB / 1.244 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.058e-05/0.8908, allocations: 104.7 kB / 1.244 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8908, allocations: 0 / 1.244 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003547/0.8943, allocations: 1.687 MB / 1.246 GB, free: 4.438 MB / 0.9981 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.008005/0.9023, allocations: 2.924 MB / 1.249 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006481/0.903, allocations: 337.4 kB / 1.249 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.903, allocations: 4 kB / 1.249 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.9033, allocations: 240.5 kB / 1.249 GB, free: 0.9102 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.9038, allocations: 72.06 kB / 1.249 GB, free: 0.8398 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4176/1.321, allocations: 3.039 MB / 1.252 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/1.322, allocations: 0.7662 MB / 1.253 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005389/1.322, allocations: 402.6 kB / 1.253 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/1.322, allocations: 97.41 kB / 1.253 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of SimCode: time 6.81e-07/1.322, allocations: 0.5312 kB / 1.253 GB, free: 227.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3682/1.691, allocations: 63.32 MB / 1.315 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/14.84, allocations: 4.469 kB / 1.315 GB, free: 183.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamProperties.fmu > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches