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.0008539/0.0008539, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007949/0.0007949, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8828/0.8828, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703/1.703, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 4 kB / 0.9996 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.322e-05, allocations: 6.281 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.5392/0.5392, allocations: 119.1 MB / 1.116 GB, free: 10.52 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006374/0.5456, allocations: 7.223 MB / 1.123 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.5457, allocations: 3.281 kB / 1.123 GB, free: 5.918 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.5459, allocations: 28.92 kB / 1.123 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 4.525e-05/0.5459, allocations: 20.86 kB / 1.123 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004168/0.5501, allocations: 1.473 MB / 1.125 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.5502, allocations: 75.56 kB / 1.125 GB, free: 5.324 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.329e-05/0.5503, allocations: 10.83 kB / 1.125 GB, free: 5.32 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.5504, allocations: 53.69 kB / 1.125 GB, free: 5.305 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.229e-05/0.5505, allocations: 28.06 kB / 1.125 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.5505, allocations: 2.656 kB / 1.125 GB, free: 5.297 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.5545, allocations: 2.622 MB / 1.127 GB, free: 4.695 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 3.159e-05/0.5545, allocations: 15.22 kB / 1.127 GB, free: 4.688 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.5546, allocations: 24.59 kB / 1.127 GB, free: 4.68 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.5575, allocations: 1.792 MB / 1.129 GB, free: 4.168 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5575, allocations: 5.156 kB / 1.129 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5575, allocations: 4 kB / 1.129 GB, free: 4.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.5575, allocations: 0 / 1.129 GB, free: 4.16 MB / 0.9948 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.001241/0.5587, allocations: 437.6 kB / 1.129 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.5588, allocations: 10.09 kB / 1.129 GB, free: 3.82 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.862e-05/0.5588, allocations: 39.42 kB / 1.13 GB, free: 3.777 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.559, allocations: 24.08 kB / 1.13 GB, free: 3.773 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.233e-05/0.559, allocations: 110.1 kB / 1.13 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.042e-05/0.5591, allocations: 56.98 kB / 1.13 GB, free: 3.582 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.5591, allocations: 8.5 kB / 1.13 GB, free: 3.578 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.5594, allocations: 154.8 kB / 1.13 GB, free: 3.484 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5594, allocations: 4.688 kB / 1.13 GB, free: 3.48 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.5594, allocations: 5.406 kB / 1.13 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.5594, allocations: 1.469 kB / 1.13 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.5596, allocations: 116.9 kB / 1.13 GB, free: 3.449 MB / 0.9948 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.0003562/0.5599, allocations: 304.4 kB / 1.13 GB, free: 3.172 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.5601, allocations: 117.8 kB / 1.13 GB, free: 3.117 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.5602, allocations: 48.23 kB / 1.13 GB, free: 3.094 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00646/0.5666, allocations: 3.034 MB / 1.133 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.5667, allocations: 36.17 kB / 1.133 GB, free: 2.738 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=13): time 1.964e-06/0.5667, allocations: 3.984 kB / 1.133 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13): time 0.0003765/0.567, allocations: 164.9 kB / 1.134 GB, free: 2.66 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.279e-05/0.5671, allocations: 57.47 kB / 1.134 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.052e-05/0.5671, allocations: 97.72 kB / 1.134 GB, free: 2.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.5671, allocations: 29.7 kB / 1.134 GB, free: 2.465 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/0.5671, allocations: 91.48 kB / 1.134 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.5672, allocations: 42.53 kB / 1.134 GB, free: 2.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.5672, allocations: 26.58 kB / 1.134 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.066e-05/0.5672, allocations: 325.9 kB / 1.134 GB, free: 1.996 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.5673, allocations: 24.81 kB / 1.134 GB, free: 1.988 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.5673, allocations: 25.33 kB / 1.134 GB, free: 1.98 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.5674, allocations: 76.67 kB / 1.134 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5674, allocations: 1.469 kB / 1.134 GB, free: 1.941 MB / 0.9948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001228/0.5675, allocations: 106.5 kB / 1.134 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.5675, allocations: 4.125 kB / 1.134 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.5675, allocations: 1.375 kB / 1.134 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5675, allocations: 0.5156 kB / 1.134 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-05/0.5676, allocations: 21.16 kB / 1.134 GB, free: 1.883 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.5676, allocations: 4.641 kB / 1.134 GB, free: 1.879 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.045e-05/0.5677, allocations: 14.69 kB / 1.134 GB, free: 1.867 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.5677, allocations: 7.391 kB / 1.134 GB, free: 1.863 MB / 0.9948 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 4.455e-05/0.5677, allocations: 117.3 kB / 1.135 GB, free: 1.742 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.728e-05/0.5677, allocations: 8.875 kB / 1.135 GB, free: 1.738 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.5681, allocations: 377.4 kB / 1.135 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.036e-06/0.5681, allocations: 5.141 kB / 1.135 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5681, allocations: 1.891 kB / 1.135 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.5681, allocations: 0.75 kB / 1.135 GB, free: 1.555 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.5683, allocations: 252 kB / 1.135 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5683, allocations: 0.6562 kB / 1.135 GB, free: 1.336 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.5683, allocations: 36.53 kB / 1.135 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5683, allocations: 1.625 kB / 1.135 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.5683, allocations: 0.6094 kB / 1.135 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.5683, allocations: 1.812 kB / 1.135 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5683, allocations: 0.5469 kB / 1.135 GB, free: 1.32 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.5686, allocations: 338.5 kB / 1.136 GB, free: 1.102 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.5686, allocations: 30.48 kB / 1.136 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5686, allocations: 5.062 kB / 1.136 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.05e-05/0.5687, allocations: 5.344 kB / 1.136 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.256e-05/0.5687, allocations: 9.625 kB / 1.136 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.5687, allocations: 17.83 kB / 1.136 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.63e-05/0.5688, allocations: 79.5 kB / 1.136 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5688, allocations: 0 / 1.136 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001269/0.57, allocations: 304.8 kB / 1.136 GB, free: 0.9648 MB / 0.9948 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.001288/0.5713, allocations: 1.211 MB / 1.137 GB, free: 148 kB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.5715, allocations: 131.5 kB / 1.137 GB, free: 104 kB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5715, allocations: 0 / 1.137 GB, free: 104 kB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.94e-05/0.5716, allocations: 90.31 kB / 1.137 GB, free: 72 kB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.5718, allocations: 19 kB / 1.137 GB, free: 68 kB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007374/0.5725, allocations: 433.5 kB / 1.138 GB, free: 15.8 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.289e-05/0.5726, allocations: 105 kB / 1.138 GB, free: 15.72 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 8.625e-05/0.5727, allocations: 34.06 kB / 1.138 GB, free: 15.71 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.5727, allocations: 43.75 kB / 1.138 GB, free: 15.68 MB / 1.01 GB Notification: Performance of SimCode: time 4.71e-07/0.5727, allocations: 5.031 kB / 1.138 GB, free: 15.68 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03378/0.6065, allocations: 12.42 MB / 1.15 GB, free: 14.21 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.554/7.16, allocations: 11.73 kB / 1.15 GB, free: 14.2 MB / 1.01 GB " [Timeout remaining time 293] (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/jenkins/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: 11.172522156499326]