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.001628/0.001628, allocations: 98.08 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.002046/0.002046, allocations: 220.4 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.957 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.784/2.784, allocations: 476.7 MB / 0.7714 GB, free: 4.438 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_11_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.002042/0.002042, allocations: 67.94 kB / 1.118 GB, free: 40.26 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3421, allocations: 170 MB / 1.284 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1698/0.512, allocations: 138.8 MB / 1.42 GB, free: 372 kB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01/0.522, allocations: 8.037 MB / 1.428 GB, free: 8.297 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.833e-05/0.522, allocations: 0 / 1.428 GB, free: 8.297 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.5222, allocations: 31.83 kB / 1.428 GB, free: 8.266 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 5.237e-05/0.5223, allocations: 19.84 kB / 1.428 GB, free: 8.246 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004929/0.5272, allocations: 1.474 MB / 1.429 GB, free: 6.777 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.5274, allocations: 75.66 kB / 1.429 GB, free: 6.703 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.5275, allocations: 7.938 kB / 1.429 GB, free: 6.695 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.5276, allocations: 47.83 kB / 1.429 GB, free: 6.648 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.5277, allocations: 39.83 kB / 1.429 GB, free: 6.609 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.5277, allocations: 0 / 1.429 GB, free: 6.609 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/0.5329, allocations: 2.719 MB / 1.432 GB, free: 3.887 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 3.311e-05/0.5329, allocations: 19.97 kB / 1.432 GB, free: 3.867 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 6.551e-05/0.533, allocations: 31.81 kB / 1.432 GB, free: 3.836 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.5353, allocations: 1.388 MB / 1.433 GB, free: 2.445 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5353, allocations: 0 / 1.433 GB, free: 2.445 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5353, allocations: 0 / 1.433 GB, free: 2.445 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.902e-06/0.5353, allocations: 0 / 1.433 GB, free: 2.445 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.001032/0.5364, allocations: 441.2 kB / 1.434 GB, free: 1.984 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.5364, allocations: 8.031 kB / 1.434 GB, free: 1.977 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.567e-05/0.5364, allocations: 8.125 kB / 1.434 GB, free: 1.969 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.5364, allocations: 42.73 kB / 1.434 GB, free: 1.918 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003638/0.5368, allocations: 24.86 kB / 1.434 GB, free: 1.895 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.5369, allocations: 114.4 kB / 1.434 GB, free: 1.758 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.076e-05/0.537, allocations: 67.53 kB / 1.434 GB, free: 1.68 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.537, allocations: 4 kB / 1.434 GB, free: 1.676 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.5374, allocations: 117.6 kB / 1.434 GB, free: 1.555 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5374, allocations: 0 / 1.434 GB, free: 1.555 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.5374, allocations: 8 kB / 1.434 GB, free: 1.547 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.5374, allocations: 4 kB / 1.434 GB, free: 1.543 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002984/0.5377, allocations: 115.9 kB / 1.434 GB, free: 1.43 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.0005245/0.5383, allocations: 355.1 kB / 1.435 GB, free: 1.027 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.5385, allocations: 114.6 kB / 1.435 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.929e-05/0.5386, allocations: 44.84 kB / 1.435 GB, free: 0.8594 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/0.5502, allocations: 3.051 MB / 1.438 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.5502, allocations: 30.56 kB / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of pre-optimization done (n=13): time 2.545e-06/0.5502, allocations: 0 / 1.438 GB, free: 13.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=13): time 0.0005726/0.5508, allocations: 173.5 kB / 1.438 GB, free: 13.59 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.5508, allocations: 51.41 kB / 1.438 GB, free: 13.53 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.68e-05/0.5509, allocations: 101.8 kB / 1.438 GB, free: 13.42 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.551, allocations: 29.7 kB / 1.438 GB, free: 13.38 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.551, allocations: 88.12 kB / 1.438 GB, free: 13.29 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.5511, allocations: 51.56 kB / 1.438 GB, free: 13.24 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.5511, allocations: 25.72 kB / 1.438 GB, free: 13.21 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5513, allocations: 318.8 kB / 1.438 GB, free: 12.89 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.5513, allocations: 23.98 kB / 1.438 GB, free: 12.87 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.597e-05/0.5514, allocations: 27.98 kB / 1.439 GB, free: 12.84 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.5515, allocations: 61.86 kB / 1.439 GB, free: 12.78 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.5515, allocations: 0 / 1.439 GB, free: 12.78 MB / 1.139 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002018/0.5517, allocations: 115.4 kB / 1.439 GB, free: 12.66 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5517, allocations: 12 kB / 1.439 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.5517, allocations: 0 / 1.439 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5517, allocations: 0 / 1.439 GB, free: 12.65 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.5519, allocations: 23.98 kB / 1.439 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.5519, allocations: 3.938 kB / 1.439 GB, free: 12.62 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.5519, allocations: 11.94 kB / 1.439 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.5519, allocations: 4 kB / 1.439 GB, free: 12.61 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 0.0001012/0.552, allocations: 114.6 kB / 1.439 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.5521, allocations: 4 kB / 1.439 GB, free: 12.48 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005361/0.5526, allocations: 388.3 kB / 1.439 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5526, allocations: 4 kB / 1.439 GB, free: 12.09 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.5527, allocations: 7.922 kB / 1.439 GB, free: 12.08 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.5527, allocations: 0 / 1.439 GB, free: 12.08 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.553, allocations: 256.5 kB / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.553, allocations: 192 / 1.439 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.5531, allocations: 23.92 kB / 1.44 GB, free: 11.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5531, allocations: 7.938 kB / 1.44 GB, free: 11.76 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.5531, allocations: 3.984 kB / 1.44 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.5531, allocations: 4 kB / 1.44 GB, free: 11.75 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5531, allocations: 7.938 kB / 1.44 GB, free: 11.74 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.5535, allocations: 339 kB / 1.44 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.5536, allocations: 27.81 kB / 1.44 GB, free: 11.37 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.5536, allocations: 4 kB / 1.44 GB, free: 11.36 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.5537, allocations: 11.98 kB / 1.44 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.5537, allocations: 7.922 kB / 1.44 GB, free: 11.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.5537, allocations: 4 kB / 1.44 GB, free: 11.34 MB / 1.139 GB Notification: Performance of sorting global known variables: time 4.661e-05/0.5538, allocations: 91.27 kB / 1.44 GB, free: 11.25 MB / 1.139 GB Notification: Performance of sort global known variables: time 6e-08/0.5538, allocations: 0 / 1.44 GB, free: 11.25 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0009313/0.5547, allocations: 303.6 kB / 1.44 GB, free: 10.95 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.00187/0.5566, allocations: 1.16 MB / 1.441 GB, free: 9.77 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0002584/0.5569, allocations: 123.8 kB / 1.442 GB, free: 9.648 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5569, allocations: 0 / 1.442 GB, free: 9.648 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.557, allocations: 99.89 kB / 1.442 GB, free: 9.551 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.5573, allocations: 24.45 kB / 1.442 GB, free: 9.531 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.5583, allocations: 434 kB / 1.442 GB, free: 9.062 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.5587, allocations: 0.7166 MB / 1.443 GB, free: 8.316 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0001163/0.5588, allocations: 32.31 kB / 1.443 GB, free: 8.285 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.147e-05/0.5589, allocations: 39.42 kB / 1.443 GB, free: 8.246 MB / 1.139 GB Notification: Performance of SimCode: time 1.082e-06/0.5589, allocations: 0 / 1.443 GB, free: 8.246 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04889/0.6077, allocations: 12.02 MB / 1.455 GB, free: 12.37 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.43, allocations: 8.875 kB / 1.455 GB, free: 12.37 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: 19.333522581029683]