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.008257/0.008257, allocations: 101.1 kB / 15.73 MB, free: 5.508 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.001895/0.001895, allocations: 195.6 kB / 16.67 MB, free: 5.438 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.556/1.556, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.704/2.704, allocations: 437 MB / 0.7105 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 67.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3818, allocations: 151.6 MB / 1.167 GB, free: 6.777 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.9311/1.313, allocations: 136.1 MB / 1.3 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02867/1.342, allocations: 22.68 MB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/1.342, allocations: 1.188 kB / 1.322 GB, free: 10.77 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0003087/1.342, allocations: 46.83 kB / 1.322 GB, free: 10.75 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003951/1.343, allocations: 101.5 kB / 1.322 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.02806/1.371, allocations: 6.952 MB / 1.329 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005806/1.371, allocations: 254.4 kB / 1.329 GB, free: 7.941 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.256e-05/1.372, allocations: 9.438 kB / 1.329 GB, free: 7.941 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003378/1.372, allocations: 147.3 kB / 1.329 GB, free: 7.879 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/1.372, allocations: 92.55 kB / 1.329 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/1.372, allocations: 8.375 kB / 1.329 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02928/1.401, allocations: 11.65 MB / 1.34 GB, free: 3.574 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/1.402, allocations: 37.39 kB / 1.341 GB, free: 3.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/1.402, allocations: 76.39 kB / 1.341 GB, free: 3.508 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02213/1.424, allocations: 6.489 MB / 1.347 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/1.424, allocations: 1.062 kB / 1.347 GB, free: 15.37 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.994e-06/1.424, allocations: 0 / 1.347 GB, free: 15.37 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.565e-05/1.424, allocations: 0 / 1.347 GB, free: 15.37 MB / 1.029 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.005562/1.43, allocations: 1.245 MB / 1.348 GB, free: 14.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/1.43, allocations: 13 kB / 1.348 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/1.431, allocations: 89.5 kB / 1.348 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/1.431, allocations: 222.5 kB / 1.348 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/1.431, allocations: 10.53 kB / 1.348 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/1.431, allocations: 17.56 kB / 1.348 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/1.432, allocations: 450.4 kB / 1.349 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/1.432, allocations: 5.062 kB / 1.349 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/1.432, allocations: 6.125 kB / 1.349 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/1.432, allocations: 8.359 kB / 1.349 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/1.434, allocations: 0.6034 MB / 1.35 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/1.435, allocations: 0.8891 MB / 1.35 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007739/1.436, allocations: 250.8 kB / 1.351 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/1.436, allocations: 77.39 kB / 1.351 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08906/1.525, allocations: 35.41 MB / 1.385 GB, free: 1.398 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001267/1.525, allocations: 42.56 kB / 1.385 GB, free: 1.348 MB / 1.045 GB Notification: Performance of pre-optimization done (n=25): time 2.234e-06/1.525, allocations: 0 / 1.385 GB, free: 1.348 MB / 1.045 GB Notification: Performance of matching and sorting (n=25): time 0.00179/1.527, allocations: 423.5 kB / 1.386 GB, free: 0.9297 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.8e-05/1.527, allocations: 55.41 kB / 1.386 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/1.527, allocations: 141.7 kB / 1.386 GB, free: 0.7148 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/1.527, allocations: 29.7 kB / 1.386 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.796e-05/1.527, allocations: 112.5 kB / 1.386 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 8.028e-05/1.527, allocations: 87.22 kB / 1.386 GB, free: 488 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/1.527, allocations: 81.59 kB / 1.386 GB, free: 400 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.528, allocations: 334.8 kB / 1.387 GB, free: 56 kB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/1.528, allocations: 75.95 kB / 1.387 GB, free: 15.98 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/1.528, allocations: 126.6 kB / 1.387 GB, free: 15.84 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/1.528, allocations: 227.2 kB / 1.387 GB, free: 15.6 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.528, allocations: 0 / 1.387 GB, free: 15.6 MB / 1.061 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007538/1.529, allocations: 297.3 kB / 1.387 GB, free: 15.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.369e-05/1.529, allocations: 5.562 kB / 1.387 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/1.529, allocations: 4.156 kB / 1.387 GB, free: 15.3 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/1.529, allocations: 7.938 kB / 1.387 GB, free: 15.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/1.53, allocations: 79.94 kB / 1.387 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/1.53, allocations: 3.938 kB / 1.387 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/1.53, allocations: 23.84 kB / 1.387 GB, free: 15.18 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/1.53, allocations: 27.92 kB / 1.387 GB, free: 15.16 MB / 1.061 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.0002289/1.53, allocations: 128.2 kB / 1.387 GB, free: 15.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/1.53, allocations: 19.84 kB / 1.387 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003025/1.533, allocations: 2.338 MB / 1.39 GB, free: 12.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/1.533, allocations: 16.84 kB / 1.39 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/1.533, allocations: 0 / 1.39 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/1.533, allocations: 0 / 1.39 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00433/1.538, allocations: 3.435 MB / 1.393 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.538, allocations: 0 / 1.393 GB, free: 9.094 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002522/1.538, allocations: 51.95 kB / 1.393 GB, free: 9.043 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/1.538, allocations: 9.5 kB / 1.393 GB, free: 9.035 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/1.538, allocations: 11.92 kB / 1.393 GB, free: 9.023 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/1.538, allocations: 4 kB / 1.393 GB, free: 9.02 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.538, allocations: 4 kB / 1.393 GB, free: 9.016 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/1.539, allocations: 0.5389 MB / 1.394 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/1.539, allocations: 144.7 kB / 1.394 GB, free: 8.301 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.123e-05/1.539, allocations: 7.938 kB / 1.394 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/1.539, allocations: 15.98 kB / 1.394 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.858e-05/1.54, allocations: 15.98 kB / 1.394 GB, free: 8.262 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/1.54, allocations: 15.98 kB / 1.394 GB, free: 8.246 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001104/1.54, allocations: 107.3 kB / 1.394 GB, free: 8.141 MB / 1.061 GB Notification: Performance of sort global known variables: time 3.015e-06/1.54, allocations: 0 / 1.394 GB, free: 8.141 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.009022/1.549, allocations: 1.711 MB / 1.396 GB, free: 6.426 MB / 1.061 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.0105/1.559, allocations: 1.958 MB / 1.398 GB, free: 4.465 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0007352/1.56, allocations: 321 kB / 1.398 GB, free: 4.148 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/1.56, allocations: 0 / 1.398 GB, free: 4.148 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003206/1.56, allocations: 241.5 kB / 1.398 GB, free: 3.91 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/1.561, allocations: 68.25 kB / 1.398 GB, free: 3.844 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/1.562, allocations: 0.6417 MB / 1.399 GB, free: 3.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/1.563, allocations: 0.7699 MB / 1.4 GB, free: 2.383 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0006606/1.563, allocations: 405 kB / 1.4 GB, free: 1.984 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/1.563, allocations: 55.41 kB / 1.4 GB, free: 1.93 MB / 1.061 GB Notification: Performance of SimCode: time 3.91e-07/1.563, allocations: 0 / 1.4 GB, free: 1.93 MB / 1.061 GB Notification: Performance of Templates: time 0.07976/1.643, allocations: 59.42 MB / 1.458 GB, free: 6.469 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches