Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") translateModel(Buildings.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00084/0.0008402, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005716/0.005716, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.354/1.354, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.402/2.402, allocations: 390.9 MB / 0.6663 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004485/0.0004486, allocations: 8 kB / 0.8159 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7254/0.7259, allocations: 142.4 MB / 0.955 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1454/0.8713, allocations: 131.8 MB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.8823, allocations: 8.394 MB / 1.092 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.041e-05/0.8824, allocations: 0 / 1.092 GB, free: 2.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.8826, allocations: 23.89 kB / 1.092 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.8827, allocations: 11.92 kB / 1.092 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003877/0.8866, allocations: 1.154 MB / 1.093 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.8867, allocations: 79.58 kB / 1.093 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.892e-05/0.8868, allocations: 4 kB / 1.093 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.887, allocations: 47.84 kB / 1.093 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.706e-05/0.8871, allocations: 31.89 kB / 1.093 GB, free: 1.355 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.8871, allocations: 4 kB / 1.093 GB, free: 1.352 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004392/0.8915, allocations: 2.661 MB / 1.096 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.307e-05/0.8915, allocations: 15.92 kB / 1.096 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.8916, allocations: 53.56 kB / 1.096 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.8934, allocations: 1.368 MB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8934, allocations: 4 kB / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8934, allocations: 0 / 1.097 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.8934, allocations: 3.938 kB / 1.097 GB, free: 13.23 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009251/0.8944, allocations: 487.2 kB / 1.098 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.8944, allocations: 12.03 kB / 1.098 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.8948, allocations: 16.92 kB / 1.098 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.8949, allocations: 176.2 kB / 1.098 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.961e-05/0.895, allocations: 30.27 kB / 1.098 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.895, allocations: 15.88 kB / 1.098 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.8954, allocations: 113.5 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.8954, allocations: 7.938 kB / 1.098 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.8954, allocations: 8 kB / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.8954, allocations: 3.984 kB / 1.098 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.8957, allocations: 111.9 kB / 1.098 GB, free: 12.18 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/0.8962, allocations: 384 kB / 1.099 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.8965, allocations: 126.5 kB / 1.099 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.563e-05/0.8966, allocations: 52.83 kB / 1.099 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.9078, allocations: 4.257 MB / 1.103 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.9079, allocations: 30.56 kB / 1.103 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.9079, allocations: 0 / 1.103 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.000525/0.9084, allocations: 163 kB / 1.103 GB, free: 6.773 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.9084, allocations: 51.41 kB / 1.103 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.9085, allocations: 101.8 kB / 1.103 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.9086, allocations: 29.7 kB / 1.103 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.249e-05/0.9086, allocations: 92.05 kB / 1.103 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.9086, allocations: 43.47 kB / 1.103 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.9087, allocations: 17.72 kB / 1.103 GB, free: 6.406 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.9088, allocations: 322.8 kB / 1.104 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.577e-05/0.9088, allocations: 27.98 kB / 1.104 GB, free: 6.055 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.9089, allocations: 19.98 kB / 1.104 GB, free: 6.035 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.909, allocations: 74.47 kB / 1.104 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.909, allocations: 0 / 1.104 GB, free: 5.961 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001728/0.9092, allocations: 110.4 kB / 1.104 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.9092, allocations: 9.875 kB / 1.104 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.9092, allocations: 0 / 1.104 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.9092, allocations: 0 / 1.104 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.9094, allocations: 31.91 kB / 1.104 GB, free: 5.809 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.9094, allocations: 3.938 kB / 1.104 GB, free: 5.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.98e-05/0.9094, allocations: 3.938 kB / 1.104 GB, free: 5.801 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.9095, allocations: 8 kB / 1.104 GB, free: 5.793 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * 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 8.34e-05/0.9095, allocations: 113.8 kB / 1.104 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.9096, allocations: 7.906 kB / 1.104 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004227/0.91, allocations: 372 kB / 1.104 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.91, allocations: 7.984 kB / 1.104 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.9101, allocations: 4 kB / 1.104 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.9101, allocations: 3.938 kB / 1.104 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.9103, allocations: 289.2 kB / 1.105 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.634e-06/0.9103, allocations: 4 kB / 1.105 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-05/0.9104, allocations: 19.98 kB / 1.105 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9104, allocations: 0 / 1.105 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.9105, allocations: 4 kB / 1.105 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.9105, allocations: 4 kB / 1.105 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9105, allocations: 0 / 1.105 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.9108, allocations: 334.8 kB / 1.105 GB, free: 4.566 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.9109, allocations: 96.94 kB / 1.105 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.9109, allocations: 8 kB / 1.105 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.911, allocations: 11.98 kB / 1.105 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.9111, allocations: 7.984 kB / 1.105 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.9111, allocations: 7.938 kB / 1.105 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.468e-05/0.9111, allocations: 87.27 kB / 1.105 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9111, allocations: 0 / 1.105 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008339/0.912, allocations: 291.9 kB / 1.106 GB, free: 4.047 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001192/0.9132, allocations: 406.8 kB / 1.106 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.9134, allocations: 128.9 kB / 1.106 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.9134, allocations: 4 kB / 1.106 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.9135, allocations: 111.9 kB / 1.106 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.9138, allocations: 17.81 kB / 1.106 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004945/0.9143, allocations: 379.9 kB / 1.107 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.9146, allocations: 0.7169 MB / 1.107 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.9147, allocations: 32.53 kB / 1.107 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.204e-05/0.9147, allocations: 19.44 kB / 1.107 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.9147, allocations: 0 / 1.107 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of Templates: time 0.01349/0.9282, allocations: 9.725 MB / 1.117 GB, free: 8.473 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches