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.001882/0.001882, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002286/0.002286, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.481/1.481, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.967/2.967, allocations: 437 MB / 0.7099 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 71.88 kB / 0.8685 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7516/0.7536, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1729/0.9266, allocations: 134 MB / 1.147 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03581/0.9624, allocations: 25.14 MB / 1.172 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000257/0.9628, allocations: 4 kB / 1.172 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0003909/0.9632, allocations: 47.73 kB / 1.172 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.9635, allocations: 75.5 kB / 1.172 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01948/0.983, allocations: 5.492 MB / 1.178 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005209/0.9836, allocations: 303.8 kB / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.268e-05/0.9836, allocations: 17.55 kB / 1.178 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000332/0.984, allocations: 131.5 kB / 1.178 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.9842, allocations: 91.59 kB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.69e-05/0.9842, allocations: 8 kB / 1.178 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02308/1.007, allocations: 11.52 MB / 1.189 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/1.007, allocations: 35.89 kB / 1.189 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/1.008, allocations: 79.64 kB / 1.189 GB, free: 1.23 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0161/1.024, allocations: 6.518 MB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/1.024, allocations: 4 kB / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.844e-06/1.024, allocations: 0 / 1.196 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.39e-06/1.024, allocations: 3.938 kB / 1.196 GB, free: 10.69 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.003681/1.027, allocations: 1.201 MB / 1.197 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/1.028, allocations: 12.03 kB / 1.197 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.029, allocations: 88.66 kB / 1.197 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/1.029, allocations: 220.1 kB / 1.197 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/1.029, allocations: 16.12 kB / 1.197 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/1.029, allocations: 12 kB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001294/1.03, allocations: 464.4 kB / 1.198 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.03, allocations: 0 / 1.198 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/1.03, allocations: 8 kB / 1.198 GB, free: 8.582 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/1.03, allocations: 4 kB / 1.198 GB, free: 8.578 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/1.032, allocations: 0.6008 MB / 1.198 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/1.033, allocations: 0.8783 MB / 1.199 GB, free: 7.012 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009237/1.034, allocations: 250.3 kB / 1.199 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/1.034, allocations: 76.83 kB / 1.2 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09387/1.128, allocations: 35.04 MB / 1.234 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/1.128, allocations: 50.48 kB / 1.234 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=25): time 2.685e-06/1.128, allocations: 0 / 1.234 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of matching and sorting (n=25): time 0.002829/1.131, allocations: 419.1 kB / 1.234 GB, free: 80 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.479e-05/1.131, allocations: 51.41 kB / 1.234 GB, free: 16 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/1.131, allocations: 139.9 kB / 1.234 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/1.131, allocations: 29.7 kB / 1.234 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/1.131, allocations: 108.4 kB / 1.234 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/1.131, allocations: 90.73 kB / 1.235 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002318/1.132, allocations: 73.58 kB / 1.235 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002069/1.132, allocations: 334.8 kB / 1.235 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/1.132, allocations: 83.94 kB / 1.235 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004575/1.133, allocations: 133 kB / 1.235 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008132/1.134, allocations: 217 kB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/1.134, allocations: 0 / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001245/1.135, allocations: 293.3 kB / 1.236 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/1.135, allocations: 8 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.135, allocations: 160 / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.872e-05/1.135, allocations: 8 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/1.135, allocations: 79.88 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.135, allocations: 4 kB / 1.236 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002632/1.136, allocations: 27.62 kB / 1.236 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/1.136, allocations: 35.97 kB / 1.236 GB, free: 14.31 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.0002689/1.136, allocations: 125.8 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002793/1.136, allocations: 15.81 kB / 1.236 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/1.141, allocations: 2.342 MB / 1.238 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/1.141, allocations: 19.92 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.141, allocations: 0 / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/1.141, allocations: 3.938 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006001/1.147, allocations: 3.415 MB / 1.242 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.147, allocations: 3.984 kB / 1.242 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/1.147, allocations: 59.89 kB / 1.242 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.12e-05/1.147, allocations: 0 / 1.242 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/1.147, allocations: 15.88 kB / 1.242 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.058e-05/1.147, allocations: 4 kB / 1.242 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.147, allocations: 4 kB / 1.242 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001567/1.149, allocations: 0.5468 MB / 1.242 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/1.149, allocations: 140.5 kB / 1.242 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.699e-05/1.149, allocations: 11.94 kB / 1.242 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004074/1.15, allocations: 12 kB / 1.242 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/1.15, allocations: 23.91 kB / 1.242 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/1.15, allocations: 16 kB / 1.242 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002374/1.15, allocations: 108.8 kB / 1.243 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.71e-07/1.15, allocations: 0 / 1.243 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.008219/1.159, allocations: 1.691 MB / 1.244 GB, free: 5.602 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.01554/1.174, allocations: 1.939 MB / 1.246 GB, free: 3.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001337/1.175, allocations: 321.9 kB / 1.246 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.176, allocations: 0 / 1.246 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006234/1.176, allocations: 245.4 kB / 1.247 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/1.177, allocations: 60.27 kB / 1.247 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/1.179, allocations: 0.7517 MB / 1.247 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/1.18, allocations: 0.7661 MB / 1.248 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001061/1.181, allocations: 409 kB / 1.249 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002498/1.181, allocations: 43.42 kB / 1.249 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of SimCode: time 7.71e-07/1.181, allocations: 0 / 1.249 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of Templates: time 0.8279/2.009, allocations: 59.42 MB / 1.307 GB, free: 191 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