Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_latest_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_latest_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.001536/0.001536, 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.001837/0.001837, allocations: 198.1 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.804/2.804, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 63.22 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3966, allocations: 157.4 MB / 1.052 GB, free: 8.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1602/0.5569, allocations: 133.5 MB / 1.182 GB, free: 2.848 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009846/0.5668, allocations: 8.487 MB / 1.191 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.302e-05/0.5669, allocations: 0 / 1.191 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000209/0.5671, allocations: 19.91 kB / 1.191 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.5672, allocations: 19.84 kB / 1.191 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003313/0.5705, allocations: 1.158 MB / 1.192 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.5707, allocations: 79.64 kB / 1.192 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.5707, allocations: 0 / 1.192 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.5708, allocations: 43.86 kB / 1.192 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.318e-05/0.5709, allocations: 35.83 kB / 1.192 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.571, allocations: 4 kB / 1.192 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004389/0.5754, allocations: 2.653 MB / 1.195 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.013e-05/0.5754, allocations: 11.98 kB / 1.195 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.5755, allocations: 35.78 kB / 1.195 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.002205/0.5777, allocations: 1.38 MB / 1.196 GB, free: 4.895 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5777, allocations: 3.938 kB / 1.196 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.71e-07/0.5777, allocations: 0 / 1.196 GB, free: 4.891 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.5777, allocations: 4 kB / 1.196 GB, free: 4.887 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001062/0.5788, allocations: 495.2 kB / 1.196 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5789, allocations: 11.97 kB / 1.197 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003676/0.5792, allocations: 24.81 kB / 1.197 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.5794, allocations: 168.3 kB / 1.197 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-05/0.5795, allocations: 34.27 kB / 1.197 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.5795, allocations: 7.938 kB / 1.197 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.5799, allocations: 125.6 kB / 1.197 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.5799, allocations: 0 / 1.197 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.5799, allocations: 0 / 1.197 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.5799, allocations: 4 kB / 1.197 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.5802, allocations: 123.8 kB / 1.197 GB, free: 3.816 MB / 0.9512 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.0005817/0.5808, allocations: 380.6 kB / 1.197 GB, free: 3.383 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002696/0.5811, allocations: 126.6 kB / 1.197 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.844e-05/0.5812, allocations: 48.84 kB / 1.198 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01093/0.5921, allocations: 4.199 MB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.303e-05/0.5922, allocations: 46.44 kB / 1.202 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 3.737e-06/0.5922, allocations: 7.984 kB / 1.202 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0006137/0.5929, allocations: 164.8 kB / 1.202 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.5929, allocations: 55.41 kB / 1.202 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.593, allocations: 97.84 kB / 1.202 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.593, allocations: 29.7 kB / 1.202 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.5931, allocations: 80.14 kB / 1.202 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.5931, allocations: 47.44 kB / 1.202 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.5932, allocations: 29.7 kB / 1.202 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.5933, allocations: 322.8 kB / 1.202 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/0.5933, allocations: 27.98 kB / 1.202 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/0.5934, allocations: 31.92 kB / 1.203 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.5935, allocations: 64.84 kB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5935, allocations: 0 / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000184/0.5937, allocations: 110.9 kB / 1.203 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5937, allocations: 4 kB / 1.203 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5937, allocations: 0 / 1.203 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5938, allocations: 0 / 1.203 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.5939, allocations: 23.92 kB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.5939, allocations: 8 kB / 1.203 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.701e-05/0.594, allocations: 11.84 kB / 1.203 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.594, allocations: 4 kB / 1.203 GB, free: 13.47 MB / 0.9669 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.674e-05/0.5941, allocations: 113.8 kB / 1.203 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.612e-05/0.5941, allocations: 3.906 kB / 1.203 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.5946, allocations: 386.2 kB / 1.203 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.5946, allocations: 7.984 kB / 1.203 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5946, allocations: 0 / 1.203 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/0.5946, allocations: 3.938 kB / 1.203 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003042/0.5949, allocations: 273.4 kB / 1.203 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.595, allocations: 0 / 1.203 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.5951, allocations: 27.98 kB / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.5951, allocations: 0 / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.5951, allocations: 0 / 1.204 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5951, allocations: 4 kB / 1.204 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5951, allocations: 0 / 1.204 GB, free: 12.61 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.5955, allocations: 338.8 kB / 1.204 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.354e-05/0.5955, allocations: 108.7 kB / 1.204 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.5956, allocations: 8 kB / 1.204 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.5957, allocations: 7.984 kB / 1.204 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.5957, allocations: 11.98 kB / 1.204 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.5958, allocations: 11.94 kB / 1.204 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.5958, allocations: 83.27 kB / 1.204 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5958, allocations: 0 / 1.204 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001107/0.5969, allocations: 299.9 kB / 1.204 GB, free: 11.73 MB / 0.9669 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.001257/0.5982, allocations: 395.2 kB / 1.205 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002352/0.5984, allocations: 127.9 kB / 1.205 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5984, allocations: 0 / 1.205 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.5986, allocations: 111.9 kB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.5989, allocations: 19.98 kB / 1.205 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005884/0.5995, allocations: 370.2 kB / 1.205 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.5999, allocations: 0.7175 MB / 1.206 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000119/0.6, allocations: 28.39 kB / 1.206 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.6, allocations: 23.44 kB / 1.206 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.6001, allocations: 0 / 1.206 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of Templates: time 0.01583/0.6159, allocations: 9.754 MB / 1.216 GB, free: 148 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches