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: 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_10_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_10_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: 101.1 kB / 16.27 MB, free: 5.969 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.002019/0.002019, allocations: 189.2 kB / 17.2 MB, free: 5.594 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.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.614/2.614, allocations: 437.1 MB / 0.7111 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 72.27 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3005, allocations: 151.6 MB / 1.018 GB, free: 10.68 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.6441/0.9446, allocations: 136.1 MB / 1.151 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02991/0.9746, allocations: 22.68 MB / 1.173 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.9748, allocations: 9.062 kB / 1.173 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.9752, allocations: 38.41 kB / 1.173 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.9756, allocations: 90.81 kB / 1.173 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.02134/0.997, allocations: 6.956 MB / 1.18 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000439/0.9974, allocations: 246.9 kB / 1.18 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.939e-05/0.9975, allocations: 12.56 kB / 1.18 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.9978, allocations: 139.8 kB / 1.18 GB, free: 10.11 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.998, allocations: 88.78 kB / 1.18 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.998, allocations: 12.19 kB / 1.18 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02586/1.024, allocations: 11.34 MB / 1.191 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001079/1.024, allocations: 34.11 kB / 1.192 GB, free: 4.133 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/1.024, allocations: 78.91 kB / 1.192 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01618/1.04, allocations: 6.497 MB / 1.198 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.04, allocations: 0 / 1.198 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.713e-06/1.04, allocations: 0 / 1.198 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.724e-06/1.04, allocations: 2.875 kB / 1.198 GB, free: 15.95 MB / 0.9044 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.003667/1.044, allocations: 1.199 MB / 1.199 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/1.044, allocations: 10.81 kB / 1.199 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/1.045, allocations: 88.47 kB / 1.199 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/1.046, allocations: 227.2 kB / 1.199 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/1.046, allocations: 9.031 kB / 1.199 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/1.046, allocations: 18.12 kB / 1.199 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/1.047, allocations: 461 kB / 1.2 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/1.047, allocations: 0 / 1.2 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/1.047, allocations: 10.09 kB / 1.2 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/1.047, allocations: 4.656 kB / 1.2 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/1.048, allocations: 0.598 MB / 1.2 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/1.049, allocations: 0.8856 MB / 1.201 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008163/1.05, allocations: 252.8 kB / 1.202 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001169/1.05, allocations: 76.2 kB / 1.202 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09428/1.144, allocations: 35.04 MB / 1.236 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/1.145, allocations: 30.56 kB / 1.236 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 1.694e-06/1.145, allocations: 4 kB / 1.236 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001843/1.146, allocations: 417.4 kB / 1.236 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/1.146, allocations: 55.41 kB / 1.236 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/1.147, allocations: 140.4 kB / 1.237 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/1.147, allocations: 33.7 kB / 1.237 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/1.147, allocations: 108.4 kB / 1.237 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/1.147, allocations: 82.75 kB / 1.237 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/1.147, allocations: 89.5 kB / 1.237 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.147, allocations: 330.8 kB / 1.237 GB, free: 5.695 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/1.147, allocations: 79.95 kB / 1.237 GB, free: 5.617 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002677/1.148, allocations: 130.6 kB / 1.237 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/1.148, allocations: 219.2 kB / 1.238 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.148, allocations: 0 / 1.238 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008354/1.149, allocations: 296.3 kB / 1.238 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.149, allocations: 4 kB / 1.238 GB, free: 4.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/1.149, allocations: 4 kB / 1.238 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.149, allocations: 8.094 kB / 1.238 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003244/1.149, allocations: 87.88 kB / 1.238 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/1.149, allocations: 0 / 1.238 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/1.15, allocations: 27.69 kB / 1.238 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/1.15, allocations: 27.91 kB / 1.238 GB, free: 4.801 MB / 0.9356 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.0001502/1.15, allocations: 125.8 kB / 1.238 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/1.15, allocations: 19.75 kB / 1.238 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002711/1.153, allocations: 2.347 MB / 1.24 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/1.153, allocations: 7.984 kB / 1.24 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.153, allocations: 0 / 1.24 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/1.153, allocations: 11.98 kB / 1.24 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/1.157, allocations: 3.431 MB / 1.244 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/1.157, allocations: 0 / 1.244 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/1.157, allocations: 55.89 kB / 1.244 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/1.157, allocations: 0 / 1.244 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.334e-05/1.157, allocations: 11.94 kB / 1.244 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/1.157, allocations: 0 / 1.244 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.157, allocations: 0 / 1.244 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008448/1.158, allocations: 0.5457 MB / 1.244 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.158, allocations: 148.5 kB / 1.244 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/1.158, allocations: 7.938 kB / 1.245 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/1.158, allocations: 15.94 kB / 1.245 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/1.158, allocations: 15.97 kB / 1.245 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/1.158, allocations: 15.98 kB / 1.245 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.752e-05/1.158, allocations: 103.3 kB / 1.245 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.134e-06/1.158, allocations: 7.938 kB / 1.245 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.004721/1.163, allocations: 1.694 MB / 1.246 GB, free: 12.08 MB / 0.9512 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.008213/1.171, allocations: 1.926 MB / 1.248 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008566/1.172, allocations: 344.9 kB / 1.249 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.172, allocations: 0 / 1.249 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003466/1.173, allocations: 240.5 kB / 1.249 GB, free: 9.582 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/1.173, allocations: 76.95 kB / 1.249 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/1.174, allocations: 0.6518 MB / 1.249 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/1.175, allocations: 0.7699 MB / 1.25 GB, free: 8.031 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001493/1.175, allocations: 55.41 kB / 1.25 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of SimCode: time 4.7e-07/1.175, allocations: 3.938 kB / 1.25 GB, free: 7.973 MB / 0.9512 GB Notification: Performance of Templates: time 0.05289/1.228, allocations: 32.78 MB / 1.282 GB, free: 7.16 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamProperties.makefile (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 & ./Buildings_10_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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