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.001282/0.001282, allocations: 109.1 kB / 16.42 MB, free: 6.461 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.001312/0.001312, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.192/2.192, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.77/0.7714, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1817/0.9531, allocations: 135.6 MB / 1.221 GB, free: 0.6914 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.9635, allocations: 7.926 MB / 1.229 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.9635, allocations: 0 / 1.229 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.9638, allocations: 29.5 kB / 1.229 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.301e-05/0.9639, allocations: 22.06 kB / 1.229 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.968, allocations: 1.477 MB / 1.23 GB, free: 9.273 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.9681, allocations: 66.25 kB / 1.23 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.9682, allocations: 4.469 kB / 1.23 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.9683, allocations: 49.14 kB / 1.23 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.9684, allocations: 32.53 kB / 1.23 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.9685, allocations: 2.25 kB / 1.23 GB, free: 9.195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004822/0.9733, allocations: 2.704 MB / 1.233 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.9733, allocations: 15.27 kB / 1.233 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.9734, allocations: 33.72 kB / 1.233 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.9755, allocations: 1.383 MB / 1.234 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.9755, allocations: 1.375 kB / 1.234 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.585e-06/0.9755, allocations: 0 / 1.234 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.9756, allocations: 0 / 1.234 GB, free: 6.875 MB / 0.9669 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.001074/0.9766, allocations: 499.3 kB / 1.235 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.9767, allocations: 8.25 kB / 1.235 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004146/0.9771, allocations: 22.58 kB / 1.235 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.9773, allocations: 175 kB / 1.235 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.663e-05/0.9774, allocations: 37.02 kB / 1.235 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.9774, allocations: 9.438 kB / 1.235 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.9778, allocations: 118.6 kB / 1.235 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9778, allocations: 0 / 1.235 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.9778, allocations: 5.359 kB / 1.235 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.9779, allocations: 1.375 kB / 1.235 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003312/0.9782, allocations: 116.4 kB / 1.235 GB, free: 6.039 MB / 0.9669 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.0005803/0.9788, allocations: 381.1 kB / 1.236 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003012/0.9791, allocations: 131 kB / 1.236 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.9792, allocations: 50.03 kB / 1.236 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01366/0.9929, allocations: 4.24 MB / 1.24 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.9929, allocations: 34.56 kB / 1.24 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.993, allocations: 0 / 1.24 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005578/0.9935, allocations: 161.5 kB / 1.24 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.9936, allocations: 59.41 kB / 1.24 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.154e-05/0.9937, allocations: 105.8 kB / 1.24 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.9937, allocations: 29.7 kB / 1.24 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.749e-05/0.9937, allocations: 80.14 kB / 1.24 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.9938, allocations: 47.44 kB / 1.241 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.9939, allocations: 25.72 kB / 1.241 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.994, allocations: 322.8 kB / 1.241 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.994, allocations: 23.98 kB / 1.241 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-05/0.9941, allocations: 27.98 kB / 1.241 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.9943, allocations: 75.97 kB / 1.241 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.9943, allocations: 0 / 1.241 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002154/0.9945, allocations: 113.5 kB / 1.241 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.9945, allocations: 4 kB / 1.241 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.9945, allocations: 0 / 1.241 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.9945, allocations: 0 / 1.241 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.9947, allocations: 19.98 kB / 1.241 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.9947, allocations: 4 kB / 1.241 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.9948, allocations: 4 kB / 1.241 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.9948, allocations: 7.938 kB / 1.241 GB, free: 1.07 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 0.0001031/0.9949, allocations: 120.2 kB / 1.241 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.995, allocations: 7.906 kB / 1.241 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005018/0.9955, allocations: 368.2 kB / 1.242 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.9955, allocations: 0 / 1.242 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.9955, allocations: 0 / 1.242 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.717e-05/0.9956, allocations: 112.8 kB / 1.242 GB, free: 452 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.9956, allocations: 7.875 kB / 1.242 GB, free: 444 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001639/0.9958, allocations: 12 kB / 1.242 GB, free: 432 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.328e-05/0.9958, allocations: 7.984 kB / 1.242 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004124/0.9962, allocations: 328.4 kB / 1.242 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004257/0.9967, allocations: 402.5 kB / 1.242 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001384/0.9968, allocations: 95.97 kB / 1.243 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.9969, allocations: 87.27 kB / 1.243 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of Backend: time 3.71e-07/0.9969, allocations: 0 / 1.243 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002497/0.9994, allocations: 0.506 MB / 1.243 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of SimCode: time 0.000647/1, allocations: 0.6759 MB / 1.244 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.02059/1.021, allocations: 11.81 MB / 1.255 GB, free: 2.441 MB / 0.9825 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches