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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.287/3.287, allocations: 0.5003 GB / 0.8061 GB, free: 26.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002887/0.002887, allocations: 72.02 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4648/0.4677, allocations: 179 MB / 1.345 GB, free: 492 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1844/0.6521, allocations: 138.8 MB / 1.481 GB, free: 5.109 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.6622, allocations: 8.053 MB / 1.489 GB, free: 13.03 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.837e-05/0.6622, allocations: 0 / 1.489 GB, free: 13.03 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.6624, allocations: 27.83 kB / 1.489 GB, free: 13 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 5.036e-05/0.6625, allocations: 23.84 kB / 1.489 GB, free: 12.98 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00435/0.6668, allocations: 1.481 MB / 1.49 GB, free: 11.5 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.667, allocations: 71.7 kB / 1.49 GB, free: 11.43 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.609e-05/0.667, allocations: 4 kB / 1.49 GB, free: 11.42 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.6672, allocations: 51.77 kB / 1.49 GB, free: 11.37 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 9.633e-05/0.6673, allocations: 27.91 kB / 1.49 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.6673, allocations: 4 kB / 1.49 GB, free: 11.34 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005688/0.673, allocations: 2.715 MB / 1.493 GB, free: 8.621 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.673, allocations: 15.92 kB / 1.493 GB, free: 8.605 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 9.293e-05/0.6731, allocations: 31.86 kB / 1.493 GB, free: 8.574 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.003282/0.6764, allocations: 1.395 MB / 1.494 GB, free: 7.176 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.6764, allocations: 3.938 kB / 1.494 GB, free: 7.172 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.384e-06/0.6764, allocations: 0 / 1.494 GB, free: 7.172 MB / 1.186 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.6764, allocations: 0 / 1.494 GB, free: 7.172 MB / 1.186 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.001271/0.6777, allocations: 429.2 kB / 1.495 GB, free: 6.723 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.6777, allocations: 12.03 kB / 1.495 GB, free: 6.711 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.131e-05/0.6778, allocations: 192 / 1.495 GB, free: 6.711 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.804e-05/0.6778, allocations: 38.75 kB / 1.495 GB, free: 6.664 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.6782, allocations: 32.86 kB / 1.495 GB, free: 6.633 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.6783, allocations: 114.4 kB / 1.495 GB, free: 6.496 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.6784, allocations: 59.53 kB / 1.495 GB, free: 6.426 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.6785, allocations: 8 kB / 1.495 GB, free: 6.418 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004005/0.6789, allocations: 117.6 kB / 1.495 GB, free: 6.297 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6789, allocations: 3.938 kB / 1.495 GB, free: 6.293 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.6789, allocations: 7.984 kB / 1.495 GB, free: 6.285 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6789, allocations: 4 kB / 1.495 GB, free: 6.281 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.6792, allocations: 122.4 kB / 1.495 GB, free: 6.164 MB / 1.186 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.0005736/0.6798, allocations: 355.1 kB / 1.496 GB, free: 5.762 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.6801, allocations: 110.6 kB / 1.496 GB, free: 5.645 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.6802, allocations: 56.83 kB / 1.496 GB, free: 5.586 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01179/0.6919, allocations: 3.024 MB / 1.499 GB, free: 2.559 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/0.692, allocations: 42.56 kB / 1.499 GB, free: 2.508 MB / 1.186 GB Notification: Performance of pre-optimization done (n=13): time 2.044e-06/0.692, allocations: 0 / 1.499 GB, free: 2.508 MB / 1.186 GB Notification: Performance of matching and sorting (n=13): time 0.0006551/0.6927, allocations: 176.4 kB / 1.499 GB, free: 2.332 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.6927, allocations: 51.41 kB / 1.499 GB, free: 2.27 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.6928, allocations: 97.8 kB / 1.499 GB, free: 2.164 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.6928, allocations: 29.7 kB / 1.499 GB, free: 2.129 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.6929, allocations: 88.12 kB / 1.499 GB, free: 2.039 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.6929, allocations: 43.59 kB / 1.499 GB, free: 1.996 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.693, allocations: 33.66 kB / 1.499 GB, free: 1.957 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6931, allocations: 318.8 kB / 1.5 GB, free: 1.637 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.953e-05/0.6932, allocations: 27.98 kB / 1.5 GB, free: 1.609 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.884e-05/0.6932, allocations: 23.98 kB / 1.5 GB, free: 1.586 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.6934, allocations: 68.86 kB / 1.5 GB, free: 1.516 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.6934, allocations: 0 / 1.5 GB, free: 1.516 MB / 1.186 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001893/0.6936, allocations: 108.1 kB / 1.5 GB, free: 1.406 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6936, allocations: 4 kB / 1.5 GB, free: 1.402 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6936, allocations: 7.984 kB / 1.5 GB, free: 1.395 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6936, allocations: 4 kB / 1.5 GB, free: 1.391 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6937, allocations: 19.98 kB / 1.5 GB, free: 1.371 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.6937, allocations: 7.875 kB / 1.5 GB, free: 1.363 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.533e-05/0.6938, allocations: 15.94 kB / 1.5 GB, free: 1.348 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.6938, allocations: 0 / 1.5 GB, free: 1.348 MB / 1.186 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 9.591e-05/0.6939, allocations: 121.7 kB / 1.5 GB, free: 1.219 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.6939, allocations: 7.953 kB / 1.5 GB, free: 1.211 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.6944, allocations: 380.4 kB / 1.5 GB, free: 0.832 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.6944, allocations: 0 / 1.5 GB, free: 0.832 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.6944, allocations: 7.938 kB / 1.5 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.6944, allocations: 3.984 kB / 1.5 GB, free: 0.8203 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.6947, allocations: 260.2 kB / 1.501 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.6947, allocations: 0 / 1.501 GB, free: 0.5234 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.6948, allocations: 27.92 kB / 1.501 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6948, allocations: 0 / 1.501 GB, free: 0.4961 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.6949, allocations: 4 kB / 1.501 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6949, allocations: 0 / 1.501 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.6949, allocations: 3.938 kB / 1.501 GB, free: 500 kB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003658/0.6952, allocations: 335.3 kB / 1.501 GB, free: 148 kB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.6953, allocations: 23.86 kB / 1.501 GB, free: 124 kB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.6953, allocations: 8 kB / 1.501 GB, free: 116 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.6954, allocations: 3.984 kB / 1.501 GB, free: 112 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.6955, allocations: 15.92 kB / 1.501 GB, free: 96 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/0.6955, allocations: 4 kB / 1.501 GB, free: 92 kB / 1.186 GB Notification: Performance of sorting global known variables: time 5.231e-05/0.6955, allocations: 87.44 kB / 1.501 GB, free: 4 kB / 1.186 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6955, allocations: 8.125 kB / 1.501 GB, free: 15.99 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001078/0.6966, allocations: 307.6 kB / 1.501 GB, free: 15.69 MB / 1.201 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.002465/0.6991, allocations: 1.161 MB / 1.503 GB, free: 14.5 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002819/0.6993, allocations: 127.8 kB / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6994, allocations: 0 / 1.503 GB, free: 14.38 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.6995, allocations: 91.89 kB / 1.503 GB, free: 14.29 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.6998, allocations: 23.19 kB / 1.503 GB, free: 14.27 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.701, allocations: 438 kB / 1.503 GB, free: 13.8 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.7014, allocations: 0.7126 MB / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.7015, allocations: 36.28 kB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.7016, allocations: 39.42 kB / 1.504 GB, free: 12.98 MB / 1.201 GB Notification: Performance of SimCode: time 1.052e-06/0.7016, allocations: 0 / 1.504 GB, free: 12.98 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03845/0.74, allocations: 12.02 MB / 1.516 GB, free: 1.102 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.47, allocations: 5.125 kB / 1.516 GB, free: 1.102 MB / 1.201 GB " [Timeout remaining time 287] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.689012850052677]