Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001762/0.001762, allocations: 106.4 kB / 16.36 MB, free: 5.875 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.001961/0.001961, allocations: 191 kB / 17.29 MB, free: 5.516 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.638/2.638, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 71.06 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3398, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.7858/1.126, allocations: 136.1 MB / 1.16 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0302/1.156, allocations: 22.67 MB / 1.182 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002794/1.156, allocations: 5.156 kB / 1.182 GB, free: 4.805 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003769/1.157, allocations: 50.53 kB / 1.182 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0004361/1.157, allocations: 86.75 kB / 1.182 GB, free: 4.691 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.028/1.185, allocations: 6.949 MB / 1.189 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006588/1.186, allocations: 252.8 kB / 1.189 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.687e-05/1.186, allocations: 9.125 kB / 1.189 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003928/1.186, allocations: 138.4 kB / 1.189 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/1.187, allocations: 92.62 kB / 1.189 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/1.187, allocations: 9.469 kB / 1.189 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02762/1.214, allocations: 11.65 MB / 1.201 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000156/1.214, allocations: 37.64 kB / 1.201 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/1.215, allocations: 82.92 kB / 1.201 GB, free: 9.523 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.02286/1.237, allocations: 6.484 MB / 1.207 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.238, allocations: 0 / 1.207 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.335e-06/1.238, allocations: 0 / 1.207 GB, free: 4.852 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.905e-06/1.238, allocations: 0 / 1.207 GB, free: 4.852 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.005095/1.243, allocations: 1.198 MB / 1.208 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/1.243, allocations: 8.031 kB / 1.208 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.244, allocations: 84.67 kB / 1.208 GB, free: 3.516 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/1.244, allocations: 232.1 kB / 1.208 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/1.244, allocations: 20.36 kB / 1.208 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/1.244, allocations: 15.94 kB / 1.208 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/1.246, allocations: 452.5 kB / 1.209 GB, free: 2.754 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/1.246, allocations: 3.938 kB / 1.209 GB, free: 2.75 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/1.246, allocations: 8 kB / 1.209 GB, free: 2.742 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.246, allocations: 4 kB / 1.209 GB, free: 2.738 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/1.247, allocations: 0.5937 MB / 1.21 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/1.248, allocations: 0.8783 MB / 1.21 GB, free: 1.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008105/1.249, allocations: 258.3 kB / 1.211 GB, free: 0.9141 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/1.249, allocations: 69.72 kB / 1.211 GB, free: 0.8438 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08535/1.334, allocations: 35.41 MB / 1.245 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/1.335, allocations: 38.56 kB / 1.245 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=25): time 1.803e-06/1.335, allocations: 0 / 1.245 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25): time 0.001774/1.336, allocations: 427.2 kB / 1.246 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/1.336, allocations: 55.41 kB / 1.246 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/1.337, allocations: 136.6 kB / 1.246 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/1.337, allocations: 33.7 kB / 1.246 GB, free: 9.617 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.976e-05/1.337, allocations: 104.4 kB / 1.246 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/1.337, allocations: 90.67 kB / 1.246 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001278/1.337, allocations: 81.58 kB / 1.246 GB, free: 9.336 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.337, allocations: 334.8 kB / 1.247 GB, free: 9 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.337, allocations: 75.95 kB / 1.247 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/1.337, allocations: 134.1 kB / 1.247 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004487/1.338, allocations: 228 kB / 1.247 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/1.338, allocations: 0 / 1.247 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007823/1.339, allocations: 295.9 kB / 1.247 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/1.339, allocations: 4 kB / 1.247 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/1.339, allocations: 4 kB / 1.247 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/1.339, allocations: 0 / 1.247 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003329/1.339, allocations: 88.03 kB / 1.247 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.339, allocations: 0 / 1.247 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/1.339, allocations: 23.75 kB / 1.247 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.827e-05/1.339, allocations: 27.91 kB / 1.247 GB, free: 8.102 MB / 0.9512 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.0001392/1.34, allocations: 133.7 kB / 1.247 GB, free: 7.961 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/1.34, allocations: 15.81 kB / 1.247 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/1.342, allocations: 2.338 MB / 1.25 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.838e-05/1.342, allocations: 11.98 kB / 1.25 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.342, allocations: 7.938 kB / 1.25 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/1.342, allocations: 3.984 kB / 1.25 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/1.346, allocations: 3.428 MB / 1.253 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/1.346, allocations: 0 / 1.253 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/1.346, allocations: 51.89 kB / 1.253 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.346, allocations: 4 kB / 1.253 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/1.346, allocations: 15.88 kB / 1.253 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/1.346, allocations: 0 / 1.253 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.346, allocations: 0 / 1.253 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008141/1.347, allocations: 0.5543 MB / 1.254 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/1.347, allocations: 144.5 kB / 1.254 GB, free: 1.234 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/1.347, allocations: 9.062 kB / 1.254 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/1.347, allocations: 12 kB / 1.254 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/1.347, allocations: 15.97 kB / 1.254 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/1.348, allocations: 12 kB / 1.254 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.115e-05/1.348, allocations: 109.8 kB / 1.254 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.433e-06/1.348, allocations: 4 kB / 1.254 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.006097/1.354, allocations: 1.694 MB / 1.256 GB, free: 15.38 MB / 0.9669 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.01014/1.364, allocations: 1.924 MB / 1.258 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009997/1.365, allocations: 322.1 kB / 1.258 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.365, allocations: 0 / 1.258 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/1.365, allocations: 245.2 kB / 1.258 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/1.366, allocations: 68.19 kB / 1.258 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/1.367, allocations: 0.6345 MB / 1.259 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/1.368, allocations: 0.7622 MB / 1.26 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0005721/1.368, allocations: 409 kB / 1.26 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/1.369, allocations: 43.41 kB / 1.26 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of SimCode: time 6.51e-07/1.369, allocations: 4 kB / 1.26 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of Templates: time 0.07892/1.447, allocations: 59.37 MB / 1.318 GB, free: 15.52 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & ./Buildings_latest_Buildings.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches