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.001299/0.001299, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001408/0.001408, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.483/1.483, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.987/2.987, allocations: 0.5003 GB / 0.8026 GB, free: 6.715 MB / 0.6387 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.002104/0.002104, allocations: 67.89 kB / 1.165 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9343/0.9364, allocations: 178.9 MB / 1.34 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.2063/1.143, allocations: 138.8 MB / 1.476 GB, free: 8.805 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01274/1.155, allocations: 8.021 MB / 1.483 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/1.156, allocations: 0 / 1.483 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/1.156, allocations: 27.89 kB / 1.484 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.389e-05/1.156, allocations: 19.8 kB / 1.484 GB, free: 0.7109 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004532/1.16, allocations: 1.474 MB / 1.485 GB, free: 15.24 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0001634/1.161, allocations: 79.69 kB / 1.485 GB, free: 15.16 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.367e-05/1.161, allocations: 4 kB / 1.485 GB, free: 15.16 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/1.161, allocations: 35.86 kB / 1.485 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/1.161, allocations: 39.83 kB / 1.485 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/1.161, allocations: 7.938 kB / 1.485 GB, free: 15.07 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00491/1.166, allocations: 2.712 MB / 1.488 GB, free: 12.36 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/1.166, allocations: 19.91 kB / 1.488 GB, free: 12.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 5.206e-05/1.166, allocations: 27.86 kB / 1.488 GB, free: 12.31 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/1.169, allocations: 1.388 MB / 1.489 GB, free: 10.92 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/1.169, allocations: 0 / 1.489 GB, free: 10.92 MB / 1.17 GB Notification: Performance of FrontEnd: time 9.31e-07/1.169, allocations: 0 / 1.489 GB, free: 10.92 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.561e-06/1.169, allocations: 3.938 kB / 1.489 GB, free: 10.92 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.001302/1.17, allocations: 0.4984 MB / 1.49 GB, free: 10.37 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/1.17, allocations: 8.031 kB / 1.49 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.024e-05/1.17, allocations: 16.06 kB / 1.49 GB, free: 10.35 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.606e-05/1.17, allocations: 38.73 kB / 1.49 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003745/1.17, allocations: 24.88 kB / 1.49 GB, free: 10.28 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/1.17, allocations: 160.4 kB / 1.49 GB, free: 10.08 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.642e-05/1.171, allocations: 37.81 kB / 1.49 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.627e-05/1.171, allocations: 8 kB / 1.49 GB, free: 10.03 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/1.171, allocations: 117.5 kB / 1.49 GB, free: 9.91 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/1.171, allocations: 3.938 kB / 1.49 GB, free: 9.906 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/1.171, allocations: 11.94 kB / 1.49 GB, free: 9.895 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.171, allocations: 4 kB / 1.49 GB, free: 9.891 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/1.171, allocations: 115.9 kB / 1.49 GB, free: 9.777 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.0005718/1.172, allocations: 384.7 kB / 1.491 GB, free: 9.34 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/1.172, allocations: 110.6 kB / 1.491 GB, free: 9.223 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.161e-05/1.172, allocations: 48.78 kB / 1.491 GB, free: 9.172 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01299/1.185, allocations: 4.673 MB / 1.495 GB, free: 4.09 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/1.185, allocations: 34.56 kB / 1.495 GB, free: 4.047 MB / 1.17 GB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/1.185, allocations: 0 / 1.495 GB, free: 4.047 MB / 1.17 GB Notification: Performance of matching and sorting (n=13): time 0.0005899/1.186, allocations: 167 kB / 1.495 GB, free: 3.879 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/1.186, allocations: 51.41 kB / 1.496 GB, free: 3.816 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/1.186, allocations: 101.8 kB / 1.496 GB, free: 3.707 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.186, allocations: 33.7 kB / 1.496 GB, free: 3.668 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/1.186, allocations: 92.2 kB / 1.496 GB, free: 3.574 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/1.186, allocations: 43.64 kB / 1.496 GB, free: 3.531 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.585e-05/1.186, allocations: 29.66 kB / 1.496 GB, free: 3.496 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001432/1.186, allocations: 318.8 kB / 1.496 GB, free: 3.176 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/1.186, allocations: 31.92 kB / 1.496 GB, free: 3.145 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.121e-05/1.186, allocations: 27.11 kB / 1.496 GB, free: 3.121 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/1.187, allocations: 72.84 kB / 1.496 GB, free: 3.047 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.187, allocations: 0 / 1.496 GB, free: 3.047 MB / 1.17 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002061/1.187, allocations: 105.7 kB / 1.496 GB, free: 2.938 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.187, allocations: 4 kB / 1.496 GB, free: 2.934 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/1.187, allocations: 0 / 1.496 GB, free: 2.934 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.187, allocations: 4 kB / 1.496 GB, free: 2.93 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/1.187, allocations: 27.92 kB / 1.496 GB, free: 2.902 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.187, allocations: 3.938 kB / 1.496 GB, free: 2.898 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.438e-05/1.187, allocations: 16.02 kB / 1.496 GB, free: 2.883 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/1.187, allocations: 0 / 1.496 GB, free: 2.883 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.562e-05/1.187, allocations: 113.8 kB / 1.497 GB, free: 2.762 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/1.187, allocations: 15.94 kB / 1.497 GB, free: 2.746 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005431/1.188, allocations: 376.2 kB / 1.497 GB, free: 2.367 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.188, allocations: 3.984 kB / 1.497 GB, free: 2.363 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.188, allocations: 3.938 kB / 1.497 GB, free: 2.359 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.188, allocations: 4 kB / 1.497 GB, free: 2.355 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/1.188, allocations: 281.2 kB / 1.497 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.188, allocations: 0 / 1.497 GB, free: 2.031 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/1.188, allocations: 23.98 kB / 1.497 GB, free: 2.008 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/1.188, allocations: 0 / 1.497 GB, free: 2.008 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.188, allocations: 7.984 kB / 1.497 GB, free: 2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.188, allocations: 4 kB / 1.497 GB, free: 1.996 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.188, allocations: 3.938 kB / 1.497 GB, free: 1.992 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/1.189, allocations: 329.8 kB / 1.498 GB, free: 1.656 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 9.206e-05/1.189, allocations: 100.9 kB / 1.498 GB, free: 1.539 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/1.189, allocations: 11.98 kB / 1.498 GB, free: 1.527 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/1.189, allocations: 4 kB / 1.498 GB, free: 1.523 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/1.189, allocations: 15.92 kB / 1.498 GB, free: 1.508 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/1.189, allocations: 8 kB / 1.498 GB, free: 1.5 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.519e-05/1.189, allocations: 79.27 kB / 1.498 GB, free: 1.422 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/1.189, allocations: 4 kB / 1.498 GB, free: 1.418 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0009582/1.19, allocations: 303.7 kB / 1.498 GB, free: 1.121 MB / 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.002166/1.192, allocations: 1.164 MB / 1.499 GB, free: 15.93 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002564/1.192, allocations: 116 kB / 1.499 GB, free: 15.82 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.192, allocations: 4 kB / 1.499 GB, free: 15.81 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001225/1.192, allocations: 87.89 kB / 1.499 GB, free: 15.73 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/1.193, allocations: 15.94 kB / 1.499 GB, free: 15.71 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/1.194, allocations: 437.6 kB / 1.5 GB, free: 15.24 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/1.194, allocations: 0.7172 MB / 1.5 GB, free: 14.5 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001108/1.194, allocations: 28.34 kB / 1.501 GB, free: 14.47 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.283e-05/1.194, allocations: 43.36 kB / 1.501 GB, free: 14.43 MB / 1.186 GB Notification: Performance of SimCode: time 4.41e-07/1.194, allocations: 0 / 1.501 GB, free: 14.43 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0367/1.231, allocations: 11.77 MB / 1.512 GB, free: 2.797 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.335/9.566, allocations: 13.95 kB / 1.512 GB, free: 2.785 MB / 1.186 GB " [Timeout remaining time 290] (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: 16.35355170397088]