Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSat0|TSat|pSat|hlvErr|hlErr|hvErr|hlvIF97|hlvWatSte|hlIF97|hlWat|hvIF97|hvSte",fileNamePrefix="Buildings_10_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_10_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.001167/0.001168, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.001173/0.001173, allocations: 192.2 kB / 17.35 MB, free: 5.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.319/1.319, 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 10.1.1-maint.10.0.x/package.mo): time 2.446/2.446, allocations: 437 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6753/0.6766, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1337/0.8104, allocations: 135.6 MB / 1.3 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008881/0.8193, allocations: 7.908 MB / 1.307 GB, free: 3.805 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.142e-05/0.8194, allocations: 4 kB / 1.307 GB, free: 3.801 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000177/0.8196, allocations: 27.83 kB / 1.307 GB, free: 3.773 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.689e-05/0.8197, allocations: 15.86 kB / 1.307 GB, free: 3.758 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003686/0.8234, allocations: 1.472 MB / 1.309 GB, free: 2.289 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000149/0.8236, allocations: 75.64 kB / 1.309 GB, free: 2.215 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/0.8236, allocations: 8 kB / 1.309 GB, free: 2.207 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.8238, allocations: 43.84 kB / 1.309 GB, free: 2.164 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.8239, allocations: 31.89 kB / 1.309 GB, free: 2.133 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.8239, allocations: 4 kB / 1.309 GB, free: 2.129 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004553/0.8284, allocations: 2.708 MB / 1.312 GB, free: 15.42 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.939e-05/0.8285, allocations: 11.92 kB / 1.312 GB, free: 15.41 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.8285, allocations: 39.86 kB / 1.312 GB, free: 15.37 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.831, allocations: 1.373 MB / 1.313 GB, free: 13.99 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.831, allocations: 0 / 1.313 GB, free: 13.99 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.166e-06/0.831, allocations: 0 / 1.313 GB, free: 13.99 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.831, allocations: 11.88 kB / 1.313 GB, free: 13.98 MB / 1.045 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.001081/0.8321, allocations: 0.4945 MB / 1.314 GB, free: 13.44 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.8321, allocations: 8.922 kB / 1.314 GB, free: 13.43 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/0.8325, allocations: 24.88 kB / 1.314 GB, free: 13.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.8327, allocations: 168.3 kB / 1.314 GB, free: 13.2 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-05/0.8327, allocations: 30.27 kB / 1.314 GB, free: 13.17 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.8328, allocations: 11.94 kB / 1.314 GB, free: 13.16 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003614/0.8331, allocations: 125.5 kB / 1.314 GB, free: 13.03 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.8332, allocations: 3.938 kB / 1.314 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.8332, allocations: 4 kB / 1.314 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.8332, allocations: 4 kB / 1.314 GB, free: 13.02 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002927/0.8335, allocations: 115.8 kB / 1.314 GB, free: 12.9 MB / 1.045 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.0004962/0.834, allocations: 380.1 kB / 1.314 GB, free: 12.47 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.8343, allocations: 122.6 kB / 1.315 GB, free: 12.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.461e-05/0.8343, allocations: 48.84 kB / 1.315 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01153/0.8459, allocations: 4.234 MB / 1.319 GB, free: 7.738 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.8459, allocations: 30.56 kB / 1.319 GB, free: 7.699 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.846, allocations: 0 / 1.319 GB, free: 7.699 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0005552/0.8465, allocations: 167.1 kB / 1.319 GB, free: 7.531 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.8466, allocations: 55.41 kB / 1.319 GB, free: 7.465 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.8466, allocations: 101.8 kB / 1.319 GB, free: 7.355 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.8467, allocations: 29.7 kB / 1.319 GB, free: 7.32 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.603e-05/0.8467, allocations: 84.14 kB / 1.319 GB, free: 7.234 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.8468, allocations: 47.59 kB / 1.319 GB, free: 7.188 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.8468, allocations: 29.7 kB / 1.319 GB, free: 7.152 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 9.698e-05/0.8469, allocations: 318.8 kB / 1.32 GB, free: 6.832 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.912e-05/0.847, allocations: 23.98 kB / 1.32 GB, free: 6.809 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.786e-05/0.847, allocations: 28.48 kB / 1.32 GB, free: 6.781 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.8471, allocations: 73.91 kB / 1.32 GB, free: 6.707 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8472, allocations: 0 / 1.32 GB, free: 6.707 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001874/0.8473, allocations: 102.7 kB / 1.32 GB, free: 6.602 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.8474, allocations: 8 kB / 1.32 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.8474, allocations: 4 kB / 1.32 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8474, allocations: 0 / 1.32 GB, free: 6.59 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.8475, allocations: 23.98 kB / 1.32 GB, free: 6.566 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8476, allocations: 3.938 kB / 1.32 GB, free: 6.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.8476, allocations: 11.89 kB / 1.32 GB, free: 6.551 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.8476, allocations: 3.938 kB / 1.32 GB, free: 6.547 MB / 1.045 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.477e-05/0.8477, allocations: 117.8 kB / 1.32 GB, free: 6.422 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.8478, allocations: 15.95 kB / 1.32 GB, free: 6.406 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004357/0.8482, allocations: 364.1 kB / 1.32 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.8482, allocations: 192 / 1.32 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.8482, allocations: 0 / 1.32 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.325e-05/0.8483, allocations: 112.9 kB / 1.32 GB, free: 5.918 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.8484, allocations: 3.938 kB / 1.32 GB, free: 5.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.8485, allocations: 15.98 kB / 1.32 GB, free: 5.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.8485, allocations: 11.92 kB / 1.32 GB, free: 5.887 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003362/0.8489, allocations: 320.6 kB / 1.321 GB, free: 5.566 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003394/0.8492, allocations: 402.5 kB / 1.321 GB, free: 5.156 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001124/0.8494, allocations: 106.3 kB / 1.321 GB, free: 5.055 MB / 1.045 GB Notification: Performance of sorting global known variables: time 2.946e-05/0.8494, allocations: 83.27 kB / 1.321 GB, free: 4.973 MB / 1.045 GB Notification: Performance of Backend: time 5.91e-07/0.8494, allocations: 0 / 1.321 GB, free: 4.973 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001954/0.8514, allocations: 0.4996 MB / 1.322 GB, free: 4.465 MB / 1.045 GB Notification: Performance of SimCode: time 0.0005254/0.8519, allocations: 0.6794 MB / 1.322 GB, free: 3.734 MB / 1.045 GB Notification: Performance of Templates: time 0.01633/0.8682, allocations: 11.82 MB / 1.334 GB, free: 7.91 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & ./Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches