Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001282/0.001282, allocations: 108.1 kB / 16.45 MB, free: 6.5 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.001438/0.001438, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.385/1.385, allocations: 230.6 MB / 252.8 MB, free: 9.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.02/3.02, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_12_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.002023/0.002023, allocations: 68.17 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3235, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1698/0.4933, allocations: 138.8 MB / 1.456 GB, free: 8.027 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01027/0.5036, allocations: 8.01 MB / 1.464 GB, free: 15.98 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.607e-05/0.5037, allocations: 0 / 1.464 GB, free: 15.98 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001879/0.5039, allocations: 19.81 kB / 1.464 GB, free: 15.96 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 6.673e-05/0.5039, allocations: 23.78 kB / 1.464 GB, free: 15.94 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004072/0.508, allocations: 1.479 MB / 1.466 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001653/0.5082, allocations: 75.7 kB / 1.466 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.5082, allocations: 3.984 kB / 1.466 GB, free: 14.39 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.5084, allocations: 47.73 kB / 1.466 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.5085, allocations: 35.89 kB / 1.466 GB, free: 14.3 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.5085, allocations: 4 kB / 1.466 GB, free: 14.3 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005211/0.5137, allocations: 2.708 MB / 1.468 GB, free: 11.59 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.5137, allocations: 19.91 kB / 1.468 GB, free: 11.57 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.5138, allocations: 27.86 kB / 1.468 GB, free: 11.54 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.5167, allocations: 1.392 MB / 1.47 GB, free: 10.15 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5167, allocations: 4 kB / 1.47 GB, free: 10.14 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5167, allocations: 0 / 1.47 GB, free: 10.14 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5167, allocations: 7.875 kB / 1.47 GB, free: 10.14 MB / 1.17 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.001272/0.518, allocations: 0.5061 MB / 1.47 GB, free: 9.582 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.518, allocations: 11.98 kB / 1.47 GB, free: 9.57 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.5181, allocations: 38.75 kB / 1.47 GB, free: 9.523 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003858/0.5184, allocations: 24.86 kB / 1.47 GB, free: 9.5 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.5186, allocations: 168.3 kB / 1.471 GB, free: 9.297 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.495e-05/0.5187, allocations: 42.02 kB / 1.471 GB, free: 9.25 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.5187, allocations: 7.984 kB / 1.471 GB, free: 9.242 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.5191, allocations: 125.5 kB / 1.471 GB, free: 9.113 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.5191, allocations: 0 / 1.471 GB, free: 9.113 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.5191, allocations: 4 kB / 1.471 GB, free: 9.109 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.5191, allocations: 0 / 1.471 GB, free: 9.109 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.5194, allocations: 115.9 kB / 1.471 GB, free: 8.996 MB / 1.17 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.000555/0.5199, allocations: 392.1 kB / 1.471 GB, free: 8.551 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.5202, allocations: 110.5 kB / 1.471 GB, free: 8.434 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.5203, allocations: 48.84 kB / 1.471 GB, free: 8.383 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01263/0.5329, allocations: 4.673 MB / 1.476 GB, free: 3.301 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.533, allocations: 30.56 kB / 1.476 GB, free: 3.262 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 2.345e-06/0.533, allocations: 4 kB / 1.476 GB, free: 3.258 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0006259/0.5336, allocations: 165.6 kB / 1.476 GB, free: 3.09 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.5336, allocations: 51.41 kB / 1.476 GB, free: 3.027 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.896e-05/0.5337, allocations: 109.8 kB / 1.476 GB, free: 2.91 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5338, allocations: 25.7 kB / 1.476 GB, free: 2.879 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.5338, allocations: 84.12 kB / 1.476 GB, free: 2.793 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.5339, allocations: 43.64 kB / 1.476 GB, free: 2.75 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.5339, allocations: 37.64 kB / 1.476 GB, free: 2.707 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5341, allocations: 314.8 kB / 1.477 GB, free: 2.391 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.5341, allocations: 23.98 kB / 1.477 GB, free: 2.367 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.5342, allocations: 27.98 kB / 1.477 GB, free: 2.34 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.5343, allocations: 72.34 kB / 1.477 GB, free: 2.27 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5343, allocations: 0 / 1.477 GB, free: 2.27 MB / 1.17 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000201/0.5345, allocations: 105.6 kB / 1.477 GB, free: 2.16 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5345, allocations: 8 kB / 1.477 GB, free: 2.152 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.5345, allocations: 0 / 1.477 GB, free: 2.152 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5345, allocations: 0 / 1.477 GB, free: 2.152 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.5347, allocations: 35.86 kB / 1.477 GB, free: 2.117 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.5347, allocations: 4 kB / 1.477 GB, free: 2.113 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.184e-05/0.5347, allocations: 11.83 kB / 1.477 GB, free: 2.102 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.5347, allocations: 4 kB / 1.477 GB, free: 2.098 MB / 1.17 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.128e-05/0.5348, allocations: 111.4 kB / 1.477 GB, free: 1.98 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.018e-05/0.5349, allocations: 4 kB / 1.477 GB, free: 1.977 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.5354, allocations: 383.9 kB / 1.478 GB, free: 1.594 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/0.5354, allocations: 7.984 kB / 1.478 GB, free: 1.586 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5354, allocations: 0 / 1.478 GB, free: 1.586 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.5354, allocations: 7.938 kB / 1.478 GB, free: 1.578 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.5357, allocations: 281.4 kB / 1.478 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5357, allocations: 0 / 1.478 GB, free: 1.254 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.5358, allocations: 19.98 kB / 1.478 GB, free: 1.234 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.5358, allocations: 4 kB / 1.478 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.5358, allocations: 0 / 1.478 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5358, allocations: 0 / 1.478 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5358, allocations: 0 / 1.478 GB, free: 1.23 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.5362, allocations: 342.9 kB / 1.478 GB, free: 0.8789 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 8.813e-05/0.5363, allocations: 101.1 kB / 1.478 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.752e-05/0.5363, allocations: 4 kB / 1.478 GB, free: 0.7578 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.5365, allocations: 11.98 kB / 1.478 GB, free: 0.7461 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.5365, allocations: 19.91 kB / 1.478 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.5365, allocations: 4 kB / 1.478 GB, free: 0.7227 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.5366, allocations: 83.27 kB / 1.478 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5366, allocations: 0 / 1.478 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009769/0.5375, allocations: 307.6 kB / 1.479 GB, free: 348 kB / 1.17 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.002109/0.5397, allocations: 1.157 MB / 1.48 GB, free: 15.16 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.5399, allocations: 116 kB / 1.48 GB, free: 15.04 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5399, allocations: 0 / 1.48 GB, free: 15.04 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.54, allocations: 95.83 kB / 1.48 GB, free: 14.95 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.5403, allocations: 17.83 kB / 1.48 GB, free: 14.93 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5414, allocations: 437.7 kB / 1.48 GB, free: 14.46 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.5418, allocations: 0.7127 MB / 1.481 GB, free: 13.73 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.5419, allocations: 32.33 kB / 1.481 GB, free: 13.7 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.542, allocations: 39.42 kB / 1.481 GB, free: 13.66 MB / 1.186 GB Notification: Performance of SimCode: time 4.51e-07/0.542, allocations: 0 / 1.481 GB, free: 13.66 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.5799, allocations: 11.71 MB / 1.493 GB, free: 2.035 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.042/8.622, allocations: 8 kB / 1.493 GB, free: 2.027 MB / 1.186 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 14.87991297408007]