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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamProperties") translateModel(Buildings.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddhp|ddph|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 108.9 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001895/0.001895, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.733/2.733, allocations: 469.8 MB / 0.743 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 62.91 kB / 0.9092 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3251, allocations: 159.1 MB / 1.065 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.6865/1.012, allocations: 136.1 MB / 1.198 GB, free: 8.852 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03171/1.043, allocations: 22.67 MB / 1.22 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/1.044, allocations: 1.438 kB / 1.22 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003234/1.044, allocations: 43.02 kB / 1.22 GB, free: 6.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003742/1.044, allocations: 89.17 kB / 1.22 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.02153/1.066, allocations: 6.959 MB / 1.227 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004466/1.066, allocations: 248.6 kB / 1.227 GB, free: 1.953 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.724e-05/1.066, allocations: 8.844 kB / 1.227 GB, free: 1.949 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/1.067, allocations: 142.7 kB / 1.227 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/1.067, allocations: 89.55 kB / 1.227 GB, free: 1.82 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/1.067, allocations: 11.44 kB / 1.227 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02401/1.091, allocations: 11.34 MB / 1.238 GB, free: 7.105 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001355/1.091, allocations: 39.88 kB / 1.238 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001725/1.091, allocations: 79.66 kB / 1.238 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01819/1.11, allocations: 6.499 MB / 1.245 GB, free: 488 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/1.11, allocations: 0 / 1.245 GB, free: 488 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.984e-06/1.11, allocations: 0 / 1.245 GB, free: 488 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.005e-06/1.11, allocations: 0 / 1.245 GB, free: 488 kB / 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.004278/1.114, allocations: 1.194 MB / 1.246 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/1.114, allocations: 12.62 kB / 1.246 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/1.115, allocations: 92.59 kB / 1.246 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/1.116, allocations: 224.1 kB / 1.246 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/1.116, allocations: 12.38 kB / 1.246 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/1.116, allocations: 15.94 kB / 1.246 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/1.117, allocations: 457.1 kB / 1.247 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/1.117, allocations: 3.938 kB / 1.247 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/1.117, allocations: 12 kB / 1.247 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.117, allocations: 7.938 kB / 1.247 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/1.118, allocations: 0.5931 MB / 1.247 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/1.119, allocations: 0.8783 MB / 1.248 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008887/1.12, allocations: 258.2 kB / 1.248 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/1.12, allocations: 72.83 kB / 1.248 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09237/1.213, allocations: 35.03 MB / 1.283 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/1.213, allocations: 42.55 kB / 1.283 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 2.044e-06/1.213, allocations: 0 / 1.283 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.001897/1.215, allocations: 422.8 kB / 1.283 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.215, allocations: 55.41 kB / 1.283 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/1.215, allocations: 133.8 kB / 1.283 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/1.215, allocations: 29.7 kB / 1.283 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/1.215, allocations: 112.3 kB / 1.283 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/1.215, allocations: 94.67 kB / 1.283 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/1.215, allocations: 81.67 kB / 1.283 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.216, allocations: 322.8 kB / 1.284 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/1.216, allocations: 83.94 kB / 1.284 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/1.216, allocations: 126.3 kB / 1.284 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/1.217, allocations: 224 kB / 1.284 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.217, allocations: 7.938 kB / 1.284 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008143/1.217, allocations: 293.3 kB / 1.284 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.217, allocations: 4.156 kB / 1.284 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.217, allocations: 4 kB / 1.284 GB, free: 4.254 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.217, allocations: 4 kB / 1.284 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/1.218, allocations: 83.88 kB / 1.285 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/1.218, allocations: 4 kB / 1.285 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/1.218, allocations: 19.75 kB / 1.285 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/1.218, allocations: 31.91 kB / 1.285 GB, free: 4.113 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.0001545/1.218, allocations: 125.8 kB / 1.285 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.218, allocations: 15.81 kB / 1.285 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/1.221, allocations: 2.346 MB / 1.287 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/1.221, allocations: 11.98 kB / 1.287 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.221, allocations: 3.984 kB / 1.287 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/1.221, allocations: 0 / 1.287 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/1.225, allocations: 3.431 MB / 1.29 GB, free: 14.06 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/1.225, allocations: 7.984 kB / 1.29 GB, free: 14.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/1.225, allocations: 51.89 kB / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/1.225, allocations: 4 kB / 1.29 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/1.225, allocations: 11.88 kB / 1.29 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.225, allocations: 9.562 kB / 1.29 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.225, allocations: 0 / 1.29 GB, free: 13.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008566/1.226, allocations: 0.5382 MB / 1.291 GB, free: 13.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/1.226, allocations: 144.5 kB / 1.291 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/1.226, allocations: 7.938 kB / 1.291 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/1.226, allocations: 8 kB / 1.291 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/1.227, allocations: 23.97 kB / 1.291 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/1.227, allocations: 16 kB / 1.291 GB, free: 13.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 9.506e-05/1.227, allocations: 109.3 kB / 1.291 GB, free: 13.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.227, allocations: 7.875 kB / 1.291 GB, free: 13.09 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.004456/1.231, allocations: 1.683 MB / 1.293 GB, free: 11.41 MB / 1.014 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.008612/1.24, allocations: 1.926 MB / 1.295 GB, free: 9.473 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000884/1.241, allocations: 349.2 kB / 1.295 GB, free: 9.133 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.241, allocations: 3.938 kB / 1.295 GB, free: 9.129 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/1.241, allocations: 232.5 kB / 1.295 GB, free: 8.902 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/1.242, allocations: 78 kB / 1.295 GB, free: 8.828 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/1.243, allocations: 0.6673 MB / 1.296 GB, free: 8.121 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/1.243, allocations: 0.7699 MB / 1.297 GB, free: 7.328 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/1.243, allocations: 51.41 kB / 1.297 GB, free: 7.277 MB / 1.014 GB Notification: Performance of SimCode: time 5.21e-07/1.243, allocations: 0 / 1.297 GB, free: 7.277 MB / 1.014 GB Notification: Performance of Templates: time 0.05327/1.297, allocations: 32.79 MB / 1.329 GB, free: 6.449 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Media.Examples.SteamProperties.makefile (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 & ./Buildings_11_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamProperties.pipe 2>&1) 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) Reference file matches