Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0017/0.0017, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00187/0.00187, allocations: 213 kB / 22.25 MB, free: 5.086 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.8 MB / 0.7707 GB, free: 4.262 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",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.002017/0.002017, allocations: 67.8 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 170 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1778/0.5006, allocations: 138.8 MB / 1.419 GB, free: 332 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01199/0.5126, allocations: 8.041 MB / 1.427 GB, free: 8.254 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.269e-05/0.5127, allocations: 0 / 1.427 GB, free: 8.254 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.5129, allocations: 27.83 kB / 1.427 GB, free: 8.227 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 8.644e-05/0.513, allocations: 23.83 kB / 1.427 GB, free: 8.203 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.005607/0.5186, allocations: 1.466 MB / 1.428 GB, free: 6.742 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.5188, allocations: 83.58 kB / 1.428 GB, free: 6.66 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 7.213e-05/0.5189, allocations: 11.94 kB / 1.428 GB, free: 6.648 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002363/0.5191, allocations: 47.83 kB / 1.428 GB, free: 6.602 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.5193, allocations: 27.91 kB / 1.428 GB, free: 6.574 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.5193, allocations: 4 kB / 1.428 GB, free: 6.57 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006722/0.526, allocations: 2.719 MB / 1.431 GB, free: 3.848 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.5261, allocations: 15.92 kB / 1.431 GB, free: 3.832 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.5262, allocations: 39.84 kB / 1.431 GB, free: 3.793 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003573/0.5297, allocations: 1.384 MB / 1.432 GB, free: 2.406 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5297, allocations: 0 / 1.432 GB, free: 2.406 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5297, allocations: 7.938 kB / 1.433 GB, free: 2.398 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5297, allocations: 0 / 1.433 GB, free: 2.398 MB / 1.123 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.001524/0.5313, allocations: 433.2 kB / 1.433 GB, free: 1.945 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.5313, allocations: 12.03 kB / 1.433 GB, free: 1.934 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.636e-05/0.5314, allocations: 34.75 kB / 1.433 GB, free: 1.891 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004705/0.5318, allocations: 28.86 kB / 1.433 GB, free: 1.863 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.532, allocations: 110.4 kB / 1.433 GB, free: 1.73 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.5321, allocations: 59.72 kB / 1.433 GB, free: 1.66 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.5321, allocations: 12 kB / 1.433 GB, free: 1.648 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004477/0.5326, allocations: 123.5 kB / 1.433 GB, free: 1.523 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5326, allocations: 4 kB / 1.433 GB, free: 1.52 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.5326, allocations: 7.938 kB / 1.433 GB, free: 1.512 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.5326, allocations: 0 / 1.433 GB, free: 1.512 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003129/0.5329, allocations: 115.9 kB / 1.433 GB, free: 1.398 MB / 1.123 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.0006482/0.5336, allocations: 355.2 kB / 1.434 GB, free: 0.9961 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.5338, allocations: 114.6 kB / 1.434 GB, free: 0.875 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.5339, allocations: 52.83 kB / 1.434 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01208/0.546, allocations: 3.039 MB / 1.437 GB, free: 13.78 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/0.5461, allocations: 38.55 kB / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.5461, allocations: 0 / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0006033/0.5467, allocations: 173.6 kB / 1.437 GB, free: 13.55 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.5467, allocations: 55.34 kB / 1.437 GB, free: 13.49 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.5468, allocations: 101.8 kB / 1.437 GB, free: 13.38 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.5469, allocations: 29.7 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.5469, allocations: 80.14 kB / 1.437 GB, free: 13.26 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.547, allocations: 51.58 kB / 1.437 GB, free: 13.21 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.547, allocations: 25.7 kB / 1.437 GB, free: 13.18 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5472, allocations: 318.8 kB / 1.438 GB, free: 12.86 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.5472, allocations: 24 kB / 1.438 GB, free: 12.84 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.324e-05/0.5473, allocations: 28.86 kB / 1.438 GB, free: 12.81 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001916/0.5475, allocations: 66.47 kB / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5475, allocations: 0 / 1.438 GB, free: 12.74 MB / 1.139 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000217/0.5477, allocations: 117.6 kB / 1.438 GB, free: 12.62 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.5477, allocations: 9.969 kB / 1.438 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5477, allocations: 0 / 1.438 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5477, allocations: 0 / 1.438 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.5479, allocations: 23.98 kB / 1.438 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.5479, allocations: 4 kB / 1.438 GB, free: 12.59 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.5479, allocations: 15.89 kB / 1.438 GB, free: 12.57 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.5479, allocations: 7.984 kB / 1.438 GB, free: 12.56 MB / 1.139 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.721e-05/0.548, allocations: 109.8 kB / 1.438 GB, free: 12.45 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.056e-05/0.5481, allocations: 4 kB / 1.438 GB, free: 12.44 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000507/0.5486, allocations: 384.3 kB / 1.438 GB, free: 12.06 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.5486, allocations: 4 kB / 1.438 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.5486, allocations: 0 / 1.438 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5486, allocations: 7.922 kB / 1.438 GB, free: 12.05 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.5489, allocations: 256.5 kB / 1.439 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5489, allocations: 0 / 1.439 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.549, allocations: 27.98 kB / 1.439 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.549, allocations: 3.938 kB / 1.439 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.5491, allocations: 0 / 1.439 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5491, allocations: 0 / 1.439 GB, free: 11.72 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.5491, allocations: 7.938 kB / 1.439 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/0.5495, allocations: 339 kB / 1.439 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.5495, allocations: 27.81 kB / 1.439 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.5496, allocations: 8 kB / 1.439 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.5497, allocations: 4 kB / 1.439 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.5497, allocations: 19.91 kB / 1.439 GB, free: 11.31 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.5497, allocations: 4 kB / 1.439 GB, free: 11.3 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.5498, allocations: 75.28 kB / 1.439 GB, free: 11.23 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.5498, allocations: 0 / 1.439 GB, free: 11.23 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009602/0.5507, allocations: 307.6 kB / 1.44 GB, free: 10.93 MB / 1.139 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.002114/0.5529, allocations: 1.179 MB / 1.441 GB, free: 9.727 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.5531, allocations: 127.8 kB / 1.441 GB, free: 9.602 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5531, allocations: 0 / 1.441 GB, free: 9.602 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.5532, allocations: 83.97 kB / 1.441 GB, free: 9.52 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.5535, allocations: 27.86 kB / 1.441 GB, free: 9.492 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.5547, allocations: 432.9 kB / 1.441 GB, free: 9.027 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.555, allocations: 0.7126 MB / 1.442 GB, free: 8.285 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.5551, allocations: 36.31 kB / 1.442 GB, free: 8.25 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.5552, allocations: 43.42 kB / 1.442 GB, free: 8.207 MB / 1.139 GB Notification: Performance of SimCode: time 3.81e-07/0.5552, allocations: 0 / 1.442 GB, free: 8.207 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04895/0.6042, allocations: 11.98 MB / 1.454 GB, free: 12.36 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.22, allocations: 13.59 kB / 1.454 GB, free: 12.35 MB / 1.154 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.910843143006787]