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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001108/0.001108, allocations: 115.2 kB / 16.42 MB, free: 6.504 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.001145/0.001145, allocations: 188.2 kB / 17.35 MB, free: 5.758 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 469.4 MB / 0.7428 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 59.91 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6926/0.6939, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1303/0.8242, allocations: 136.1 MB / 1.354 GB, free: 9.699 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0249/0.8491, allocations: 22.67 MB / 1.376 GB, free: 2.953 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.8493, allocations: 0 / 1.376 GB, free: 2.953 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.8496, allocations: 47.67 kB / 1.376 GB, free: 2.906 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0002631/0.8499, allocations: 95.42 kB / 1.376 GB, free: 2.812 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.01554/0.8654, allocations: 6.964 MB / 1.383 GB, free: 11.86 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0003561/0.8658, allocations: 251.9 kB / 1.383 GB, free: 11.62 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.8658, allocations: 17.53 kB / 1.383 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003186/0.8662, allocations: 143.5 kB / 1.383 GB, free: 11.46 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.8663, allocations: 91.59 kB / 1.383 GB, free: 11.37 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.539e-05/0.8664, allocations: 11.94 kB / 1.383 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02014/0.8865, allocations: 11.63 MB / 1.395 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 9.324e-05/0.8866, allocations: 35.89 kB / 1.395 GB, free: 15.68 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.8868, allocations: 87.64 kB / 1.395 GB, free: 15.59 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/0.8989, allocations: 6.476 MB / 1.401 GB, free: 9.105 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.899, allocations: 4 kB / 1.401 GB, free: 9.102 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.743e-06/0.899, allocations: 4 kB / 1.401 GB, free: 9.098 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.899, allocations: 0 / 1.401 GB, free: 9.098 MB / 1.123 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.00307/0.9021, allocations: 1.185 MB / 1.402 GB, free: 7.863 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.9021, allocations: 8.031 kB / 1.402 GB, free: 7.855 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.9032, allocations: 88.66 kB / 1.402 GB, free: 7.77 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.9035, allocations: 236 kB / 1.403 GB, free: 7.5 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.9036, allocations: 20.12 kB / 1.403 GB, free: 7.48 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.9036, allocations: 12 kB / 1.403 GB, free: 7.469 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.9048, allocations: 458 kB / 1.403 GB, free: 7.004 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-06/0.9048, allocations: 0 / 1.403 GB, free: 7.004 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.9048, allocations: 8 kB / 1.403 GB, free: 6.996 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.9048, allocations: 7.984 kB / 1.403 GB, free: 6.988 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.906, allocations: 0.5937 MB / 1.404 GB, free: 6.395 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.9071, allocations: 0.8822 MB / 1.405 GB, free: 5.426 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.9079, allocations: 250.9 kB / 1.405 GB, free: 5.176 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.908, allocations: 80.83 kB / 1.405 GB, free: 5.094 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09133/0.9994, allocations: 35.43 MB / 1.439 GB, free: 14.57 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.9994, allocations: 38.5 kB / 1.44 GB, free: 14.52 MB / 1.17 GB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/0.9994, allocations: 3.938 kB / 1.44 GB, free: 14.52 MB / 1.17 GB Notification: Performance of matching and sorting (n=25): time 0.001782/1.001, allocations: 413.4 kB / 1.44 GB, free: 14.11 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/1.001, allocations: 55.41 kB / 1.44 GB, free: 14.04 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/1.001, allocations: 143.6 kB / 1.44 GB, free: 13.89 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/1.001, allocations: 33.7 kB / 1.44 GB, free: 13.86 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/1.001, allocations: 108.4 kB / 1.44 GB, free: 13.75 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/1.002, allocations: 86.73 kB / 1.44 GB, free: 13.66 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.002, allocations: 77.66 kB / 1.44 GB, free: 13.58 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.719e-05/1.002, allocations: 330.8 kB / 1.441 GB, free: 13.25 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/1.002, allocations: 79.95 kB / 1.441 GB, free: 13.17 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/1.002, allocations: 133 kB / 1.441 GB, free: 13.02 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/1.003, allocations: 220.7 kB / 1.441 GB, free: 12.79 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/1.003, allocations: 4 kB / 1.441 GB, free: 12.79 MB / 1.17 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000765/1.003, allocations: 297.2 kB / 1.441 GB, free: 12.49 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.003, allocations: 4 kB / 1.441 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.003, allocations: 4 kB / 1.441 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.004, allocations: 4 kB / 1.441 GB, free: 12.48 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/1.004, allocations: 79.88 kB / 1.442 GB, free: 12.4 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/1.004, allocations: 3.984 kB / 1.442 GB, free: 12.39 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/1.004, allocations: 23.75 kB / 1.442 GB, free: 12.37 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/1.004, allocations: 32.08 kB / 1.442 GB, free: 12.34 MB / 1.17 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.0001274/1.004, allocations: 126.3 kB / 1.442 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.004, allocations: 11.91 kB / 1.442 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/1.007, allocations: 2.35 MB / 1.444 GB, free: 9.832 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.007, allocations: 3.984 kB / 1.444 GB, free: 9.828 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.007, allocations: 0 / 1.444 GB, free: 9.828 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/1.007, allocations: 132.7 kB / 1.444 GB, free: 9.68 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/1.007, allocations: 7.938 kB / 1.444 GB, free: 9.672 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/1.007, allocations: 27.97 kB / 1.444 GB, free: 9.645 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/1.007, allocations: 19.97 kB / 1.444 GB, free: 9.625 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007281/1.008, allocations: 0.5426 MB / 1.445 GB, free: 9.078 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000755/1.009, allocations: 0.6204 MB / 1.445 GB, free: 8.441 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002729/1.009, allocations: 229.3 kB / 1.446 GB, free: 8.215 MB / 1.17 GB Notification: Performance of sorting global known variables: time 6.442e-05/1.009, allocations: 105.5 kB / 1.446 GB, free: 8.113 MB / 1.17 GB Notification: Performance of Backend: time 5.11e-07/1.009, allocations: 4 kB / 1.446 GB, free: 8.109 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.008622/1.018, allocations: 2.257 MB / 1.448 GB, free: 5.848 MB / 1.17 GB Notification: Performance of SimCode: time 0.0009236/1.019, allocations: 0.9268 MB / 1.449 GB, free: 4.871 MB / 1.17 GB Notification: Performance of Templates: time 0.08056/1.099, allocations: 63.21 MB / 1.51 GB, free: 5.605 MB / 1.232 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 -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