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.001459/0.001459, allocations: 112.2 kB / 16.42 MB, free: 6.5 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.001744/0.001744, allocations: 185.7 kB / 17.35 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.13 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.45/2.45, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 59.84 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6883, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1319/0.8202, allocations: 136.1 MB / 1.3 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02529/0.8455, allocations: 22.68 MB / 1.322 GB, free: 4.438 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.8457, allocations: 4 kB / 1.322 GB, free: 4.434 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.846, allocations: 51.67 kB / 1.322 GB, free: 4.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.8464, allocations: 91.36 kB / 1.323 GB, free: 4.293 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01693/0.8633, allocations: 6.956 MB / 1.329 GB, free: 13.35 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.8638, allocations: 251.9 kB / 1.33 GB, free: 13.1 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.273e-05/0.8638, allocations: 9.562 kB / 1.33 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003387/0.8642, allocations: 147.4 kB / 1.33 GB, free: 12.95 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.8643, allocations: 87.66 kB / 1.33 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.766e-05/0.8644, allocations: 12 kB / 1.33 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02013/0.8845, allocations: 11.64 MB / 1.341 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.384e-05/0.8846, allocations: 43.89 kB / 1.341 GB, free: 1.152 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.8848, allocations: 79.66 kB / 1.341 GB, free: 1.074 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01248/0.8973, allocations: 6.476 MB / 1.348 GB, free: 10.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.8973, allocations: 0 / 1.348 GB, free: 10.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8973, allocations: 0 / 1.348 GB, free: 10.59 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.8973, allocations: 0 / 1.348 GB, free: 10.59 MB / 1.076 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.003067/0.9004, allocations: 1.201 MB / 1.349 GB, free: 9.336 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.9004, allocations: 12.02 kB / 1.349 GB, free: 9.324 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.9016, allocations: 88.67 kB / 1.349 GB, free: 9.238 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002971/0.9019, allocations: 232 kB / 1.349 GB, free: 8.973 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.9019, allocations: 12.12 kB / 1.349 GB, free: 8.961 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/0.9019, allocations: 16 kB / 1.349 GB, free: 8.945 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.9031, allocations: 446.1 kB / 1.35 GB, free: 8.492 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.9031, allocations: 0 / 1.35 GB, free: 8.492 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.754e-05/0.9032, allocations: 11.94 kB / 1.35 GB, free: 8.48 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.9032, allocations: 8 kB / 1.35 GB, free: 8.473 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.9044, allocations: 0.5979 MB / 1.35 GB, free: 7.875 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009862/0.9054, allocations: 0.8821 MB / 1.351 GB, free: 6.906 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008451/0.9063, allocations: 262.2 kB / 1.351 GB, free: 6.641 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.9064, allocations: 80.81 kB / 1.351 GB, free: 6.559 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09164/0.998, allocations: 35.4 MB / 1.386 GB, free: 68 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.9981, allocations: 38.56 kB / 1.386 GB, free: 20 kB / 1.107 GB Notification: Performance of pre-optimization done (n=25): time 2.264e-06/0.9981, allocations: 0 / 1.386 GB, free: 20 kB / 1.107 GB Notification: Performance of matching and sorting (n=25): time 0.001917/1, allocations: 422.4 kB / 1.386 GB, free: 15.6 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.66e-05/1, allocations: 59.39 kB / 1.386 GB, free: 15.53 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/1, allocations: 140.6 kB / 1.387 GB, free: 15.38 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/1, allocations: 29.7 kB / 1.387 GB, free: 15.35 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/1, allocations: 120.2 kB / 1.387 GB, free: 15.23 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.715e-05/1, allocations: 82.77 kB / 1.387 GB, free: 15.14 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/1.001, allocations: 73.66 kB / 1.387 GB, free: 15.07 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.001, allocations: 330.8 kB / 1.387 GB, free: 14.73 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/1.001, allocations: 79.95 kB / 1.387 GB, free: 14.66 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/1.001, allocations: 141.1 kB / 1.387 GB, free: 14.5 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004533/1.002, allocations: 219.8 kB / 1.388 GB, free: 14.27 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.002, allocations: 0 / 1.388 GB, free: 14.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000794/1.002, allocations: 302.9 kB / 1.388 GB, free: 13.97 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.002, allocations: 4 kB / 1.388 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.002, allocations: 0 / 1.388 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.002, allocations: 4 kB / 1.388 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/1.003, allocations: 79.88 kB / 1.388 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.534e-05/1.003, allocations: 12.03 kB / 1.388 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.003, allocations: 19.84 kB / 1.388 GB, free: 13.85 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.73e-05/1.003, allocations: 31.92 kB / 1.388 GB, free: 13.82 MB / 1.123 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.0001341/1.003, allocations: 125.8 kB / 1.388 GB, free: 13.69 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002034/1.003, allocations: 15.81 kB / 1.388 GB, free: 13.67 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/1.006, allocations: 2.346 MB / 1.39 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.006, allocations: 0 / 1.39 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/1.006, allocations: 0 / 1.39 GB, free: 11.32 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/1.006, allocations: 132.7 kB / 1.391 GB, free: 11.17 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/1.006, allocations: 11.94 kB / 1.391 GB, free: 11.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/1.006, allocations: 23.95 kB / 1.391 GB, free: 11.14 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/1.006, allocations: 15.98 kB / 1.391 GB, free: 11.12 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007462/1.007, allocations: 0.5504 MB / 1.391 GB, free: 10.56 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000784/1.008, allocations: 0.6165 MB / 1.392 GB, free: 9.926 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002622/1.008, allocations: 224.6 kB / 1.392 GB, free: 9.707 MB / 1.123 GB Notification: Performance of sorting global known variables: time 6.839e-05/1.008, allocations: 111.2 kB / 1.392 GB, free: 9.598 MB / 1.123 GB Notification: Performance of Backend: time 5.11e-07/1.008, allocations: 0 / 1.392 GB, free: 9.598 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009271/1.017, allocations: 2.258 MB / 1.394 GB, free: 7.336 MB / 1.123 GB Notification: Performance of SimCode: time 0.0009649/1.018, allocations: 0.927 MB / 1.395 GB, free: 6.363 MB / 1.123 GB Notification: Performance of Templates: time 0.0778/1.096, allocations: 63.21 MB / 1.457 GB, free: 7.094 MB / 1.186 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=480 -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