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.001455/0.001454, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001436/0.001436, allocations: 196.5 kB / 16.26 MB, free: 6.625 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.486/1.486, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.764/2.764, allocations: 437 MB / 0.7101 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002789/0.00279, allocations: 71.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8033/0.8062, allocations: 151.6 MB / 1.017 GB, free: 2.852 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.214/1.02, allocations: 134.2 MB / 1.148 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03205/1.052, allocations: 23 MB / 1.17 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/1.053, allocations: 0 / 1.17 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003148/1.053, allocations: 35.81 kB / 1.17 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003355/1.053, allocations: 87.48 kB / 1.17 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01851/1.072, allocations: 6.139 MB / 1.176 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004618/1.072, allocations: 255.9 kB / 1.177 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.744e-05/1.072, allocations: 9.562 kB / 1.177 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/1.073, allocations: 143.4 kB / 1.177 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/1.073, allocations: 91.66 kB / 1.177 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/1.073, allocations: 8 kB / 1.177 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02442/1.097, allocations: 11.46 MB / 1.188 GB, free: 2.883 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001446/1.097, allocations: 39.89 kB / 1.188 GB, free: 2.844 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/1.098, allocations: 87.64 kB / 1.188 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.02281/1.12, allocations: 6.522 MB / 1.195 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.121, allocations: 0 / 1.195 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.805e-06/1.121, allocations: 0 / 1.195 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.696e-06/1.121, allocations: 0 / 1.195 GB, free: 12.22 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.006696/1.127, allocations: 1.199 MB / 1.196 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.77e-05/1.127, allocations: 12.03 kB / 1.196 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001239/1.129, allocations: 84.67 kB / 1.196 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/1.129, allocations: 232 kB / 1.196 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/1.129, allocations: 16.12 kB / 1.196 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/1.129, allocations: 12 kB / 1.196 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/1.13, allocations: 460.4 kB / 1.197 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/1.13, allocations: 0 / 1.197 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/1.13, allocations: 8 kB / 1.197 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/1.13, allocations: 4 kB / 1.197 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/1.132, allocations: 0.6008 MB / 1.197 GB, free: 9.508 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/1.133, allocations: 0.8822 MB / 1.198 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009039/1.134, allocations: 250.3 kB / 1.198 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/1.134, allocations: 76.83 kB / 1.198 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09166/1.226, allocations: 35.03 MB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/1.226, allocations: 38.56 kB / 1.233 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 6.222e-06/1.226, allocations: 3.984 kB / 1.233 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.002011/1.228, allocations: 423 kB / 1.233 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/1.228, allocations: 51.41 kB / 1.233 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/1.228, allocations: 151.9 kB / 1.233 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.573e-05/1.228, allocations: 29.7 kB / 1.233 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.958e-05/1.228, allocations: 112.4 kB / 1.233 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.611e-05/1.228, allocations: 82.77 kB / 1.233 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/1.229, allocations: 77.56 kB / 1.233 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001687/1.229, allocations: 330.8 kB / 1.234 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/1.229, allocations: 79.95 kB / 1.234 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/1.229, allocations: 133.1 kB / 1.234 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/1.23, allocations: 220.9 kB / 1.234 GB, free: 296 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.23, allocations: 4 kB / 1.234 GB, free: 292 kB / 0.9825 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000825/1.231, allocations: 293.3 kB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.231, allocations: 8 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/1.231, allocations: 0 / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.231, allocations: 4 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/1.231, allocations: 79.88 kB / 1.235 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.298e-05/1.231, allocations: 4 kB / 1.235 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/1.231, allocations: 23.84 kB / 1.235 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.039e-05/1.231, allocations: 31.98 kB / 1.235 GB, free: 15.84 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.000183/1.231, allocations: 129.8 kB / 1.235 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/1.232, allocations: 15.81 kB / 1.235 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002765/1.234, allocations: 2.35 MB / 1.237 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/1.234, allocations: 11.98 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.234, allocations: 0 / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.234, allocations: 3.938 kB / 1.237 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003957/1.238, allocations: 3.423 MB / 1.24 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.238, allocations: 0 / 1.24 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002904/1.239, allocations: 59.89 kB / 1.24 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/1.239, allocations: 7.984 kB / 1.24 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/1.239, allocations: 7.938 kB / 1.24 GB, free: 9.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/1.239, allocations: 4 kB / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.239, allocations: 0 / 1.24 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009559/1.24, allocations: 0.5429 MB / 1.241 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/1.24, allocations: 140.5 kB / 1.241 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.488e-05/1.24, allocations: 15.88 kB / 1.241 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/1.24, allocations: 15.98 kB / 1.241 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/1.24, allocations: 23.91 kB / 1.241 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.24, allocations: 16 kB / 1.241 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.393e-05/1.24, allocations: 108.8 kB / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.24, allocations: 0 / 1.241 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00613/1.247, allocations: 1.69 MB / 1.243 GB, free: 7.125 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.01046/1.257, allocations: 1.931 MB / 1.245 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001108/1.258, allocations: 341.8 kB / 1.245 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/1.258, allocations: 3.938 kB / 1.245 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/1.259, allocations: 241.5 kB / 1.245 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/1.259, allocations: 60.25 kB / 1.245 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/1.261, allocations: 0.7517 MB / 1.246 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/1.261, allocations: 0.7699 MB / 1.247 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006706/1.262, allocations: 409 kB / 1.247 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/1.262, allocations: 47.41 kB / 1.247 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/1.262, allocations: 0 / 1.247 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of Templates: time 0.6584/1.92, allocations: 59.66 MB / 1.306 GB, free: 191.7 MB / 0.9981 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches