Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001651/0.001651, allocations: 108.5 kB / 16.41 MB, free: 6.496 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.001784/0.001784, allocations: 187 kB / 17.34 MB, free: 5.762 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 55.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8323/0.8338, allocations: 140.4 MB / 1.089 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1769/1.011, allocations: 136.1 MB / 1.222 GB, free: 276 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03051/1.041, allocations: 22.36 MB / 1.243 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/1.042, allocations: 1.219 kB / 1.243 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/1.042, allocations: 43.44 kB / 1.243 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004514/1.042, allocations: 97.06 kB / 1.244 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.02153/1.064, allocations: 6.67 MB / 1.25 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004675/1.064, allocations: 243.9 kB / 1.25 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.258e-05/1.065, allocations: 9.562 kB / 1.25 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003405/1.065, allocations: 143.4 kB / 1.25 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/1.065, allocations: 87.66 kB / 1.251 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/1.065, allocations: 12 kB / 1.251 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02342/1.089, allocations: 10.96 MB / 1.261 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001126/1.089, allocations: 35.89 kB / 1.261 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/1.089, allocations: 87.64 kB / 1.261 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01769/1.107, allocations: 6.156 MB / 1.267 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/1.107, allocations: 0 / 1.267 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.836e-06/1.107, allocations: 0 / 1.267 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.867e-05/1.107, allocations: 0 / 1.267 GB, free: 6.766 MB / 0.9981 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.003971/1.111, allocations: 1.185 MB / 1.269 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.111, allocations: 8.031 kB / 1.269 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001181/1.112, allocations: 84.67 kB / 1.269 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/1.112, allocations: 228.1 kB / 1.269 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/1.112, allocations: 12.12 kB / 1.269 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/1.112, allocations: 19.94 kB / 1.269 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/1.113, allocations: 456.5 kB / 1.269 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.113, allocations: 0 / 1.269 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.972e-05/1.113, allocations: 12 kB / 1.269 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/1.113, allocations: 4 kB / 1.269 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/1.115, allocations: 0.593 MB / 1.27 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/1.116, allocations: 0.8822 MB / 1.271 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/1.117, allocations: 258.1 kB / 1.271 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/1.117, allocations: 68.84 kB / 1.271 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08973/1.207, allocations: 35.44 MB / 1.306 GB, free: 12.24 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.207, allocations: 38.5 kB / 1.306 GB, free: 12.2 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 1.833e-06/1.207, allocations: 3.938 kB / 1.306 GB, free: 12.19 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.001761/1.208, allocations: 418.2 kB / 1.306 GB, free: 11.78 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.208, allocations: 55.34 kB / 1.306 GB, free: 11.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.209, allocations: 144.3 kB / 1.306 GB, free: 11.56 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.144e-05/1.209, allocations: 25.7 kB / 1.306 GB, free: 11.53 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/1.209, allocations: 116.3 kB / 1.306 GB, free: 11.41 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.994e-05/1.209, allocations: 86.75 kB / 1.306 GB, free: 11.32 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/1.209, allocations: 73.67 kB / 1.307 GB, free: 11.25 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.209, allocations: 330.8 kB / 1.307 GB, free: 10.91 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/1.209, allocations: 79.95 kB / 1.307 GB, free: 10.84 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/1.21, allocations: 130.5 kB / 1.307 GB, free: 10.69 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000396/1.21, allocations: 215.5 kB / 1.307 GB, free: 10.46 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/1.21, allocations: 0 / 1.307 GB, free: 10.46 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006976/1.211, allocations: 311 kB / 1.308 GB, free: 10.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/1.211, allocations: 4 kB / 1.308 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.211, allocations: 0 / 1.308 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/1.211, allocations: 4 kB / 1.308 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/1.211, allocations: 83.88 kB / 1.308 GB, free: 10.07 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/1.211, allocations: 4 kB / 1.308 GB, free: 10.06 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/1.211, allocations: 19.78 kB / 1.308 GB, free: 10.04 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/1.211, allocations: 27.97 kB / 1.308 GB, free: 10.02 MB / 1.045 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.0001321/1.211, allocations: 121.8 kB / 1.308 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/1.212, allocations: 23.88 kB / 1.308 GB, free: 9.863 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/1.214, allocations: 2.346 MB / 1.31 GB, free: 7.504 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.214, allocations: 7.984 kB / 1.31 GB, free: 7.496 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.214, allocations: 0 / 1.31 GB, free: 7.496 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/1.214, allocations: 7.922 kB / 1.31 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/1.217, allocations: 3.431 MB / 1.314 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.217, allocations: 0 / 1.314 GB, free: 3.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/1.217, allocations: 55.89 kB / 1.314 GB, free: 3.902 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.217, allocations: 4 kB / 1.314 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.218, allocations: 11.94 kB / 1.314 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/1.218, allocations: 0 / 1.314 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.218, allocations: 4 kB / 1.314 GB, free: 3.883 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/1.218, allocations: 0.5466 MB / 1.314 GB, free: 3.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/1.218, allocations: 140.5 kB / 1.314 GB, free: 3.156 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/1.219, allocations: 11.94 kB / 1.314 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/1.219, allocations: 15.94 kB / 1.314 GB, free: 3.129 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/1.219, allocations: 19.97 kB / 1.314 GB, free: 3.109 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/1.219, allocations: 12 kB / 1.314 GB, free: 3.098 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.535e-05/1.219, allocations: 107.2 kB / 1.314 GB, free: 2.992 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/1.219, allocations: 0 / 1.314 GB, free: 2.992 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004415/1.223, allocations: 1.616 MB / 1.316 GB, free: 1.375 MB / 1.045 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.008512/1.232, allocations: 1.9 MB / 1.318 GB, free: 15.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007705/1.233, allocations: 321.1 kB / 1.318 GB, free: 15.16 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.233, allocations: 3.938 kB / 1.318 GB, free: 15.15 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000348/1.233, allocations: 244.4 kB / 1.318 GB, free: 14.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006348/1.234, allocations: 72.19 kB / 1.318 GB, free: 14.84 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/1.235, allocations: 0.6628 MB / 1.319 GB, free: 14.15 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/1.235, allocations: 0.7699 MB / 1.32 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/1.235, allocations: 51.41 kB / 1.32 GB, free: 13.3 MB / 1.061 GB Notification: Performance of SimCode: time 4.3e-07/1.235, allocations: 0 / 1.32 GB, free: 13.3 MB / 1.061 GB Notification: Performance of Templates: time 0.04716/1.283, allocations: 31.4 MB / 1.351 GB, free: 13.88 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_9_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches