Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009838/0.0009839, allocations: 198.1 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.471/2.471, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.89 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.556/0.5574, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1287/0.6861, allocations: 133.5 MB / 1.147 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009326/0.6955, allocations: 8.502 MB / 1.155 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.6956, allocations: 0 / 1.155 GB, free: 4.277 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.6957, allocations: 23.83 kB / 1.155 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.6958, allocations: 7.922 kB / 1.155 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002802/0.6986, allocations: 1.16 MB / 1.156 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.6988, allocations: 75.64 kB / 1.157 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.6988, allocations: 4 kB / 1.157 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.6989, allocations: 43.84 kB / 1.157 GB, free: 2.969 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.81e-05/0.699, allocations: 31.84 kB / 1.157 GB, free: 2.938 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.6991, allocations: 4 kB / 1.157 GB, free: 2.934 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003949/0.703, allocations: 2.657 MB / 1.159 GB, free: 280 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.7031, allocations: 11.98 kB / 1.159 GB, free: 268 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 5.179e-05/0.7031, allocations: 35.78 kB / 1.159 GB, free: 232 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.7052, allocations: 1.372 MB / 1.161 GB, free: 14.85 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7052, allocations: 0 / 1.161 GB, free: 14.85 MB / 0.92 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7052, allocations: 4 kB / 1.161 GB, free: 14.85 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.7053, allocations: 3.938 kB / 1.161 GB, free: 14.84 MB / 0.92 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.0009987/0.7063, allocations: 0.4971 MB / 1.161 GB, free: 14.3 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.7063, allocations: 12.03 kB / 1.161 GB, free: 14.29 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.821e-05/0.7063, allocations: 34.75 kB / 1.161 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003621/0.7067, allocations: 24.83 kB / 1.161 GB, free: 14.22 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7068, allocations: 172.2 kB / 1.161 GB, free: 14.02 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-05/0.7069, allocations: 38.02 kB / 1.161 GB, free: 13.97 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.7069, allocations: 8 kB / 1.161 GB, free: 13.96 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.7073, allocations: 121.6 kB / 1.162 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.7073, allocations: 0 / 1.162 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.7073, allocations: 0 / 1.162 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7073, allocations: 4 kB / 1.162 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002792/0.7076, allocations: 115.9 kB / 1.162 GB, free: 13.72 MB / 0.92 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.0004818/0.7081, allocations: 384 kB / 1.162 GB, free: 13.29 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.7084, allocations: 126.6 kB / 1.162 GB, free: 13.15 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.445e-05/0.7085, allocations: 56.83 kB / 1.162 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.7191, allocations: 4.195 MB / 1.166 GB, free: 8.582 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.7191, allocations: 42.56 kB / 1.166 GB, free: 8.531 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.7191, allocations: 3.938 kB / 1.166 GB, free: 8.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004512/0.7196, allocations: 162.6 kB / 1.166 GB, free: 8.363 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.7196, allocations: 55.41 kB / 1.167 GB, free: 8.297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.7197, allocations: 101.8 kB / 1.167 GB, free: 8.188 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.7197, allocations: 25.7 kB / 1.167 GB, free: 8.156 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.556e-05/0.7198, allocations: 88.14 kB / 1.167 GB, free: 8.066 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.7198, allocations: 43.44 kB / 1.167 GB, free: 8.023 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.7199, allocations: 33.7 kB / 1.167 GB, free: 7.984 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/0.72, allocations: 318.8 kB / 1.167 GB, free: 7.664 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.136e-05/0.72, allocations: 35.98 kB / 1.167 GB, free: 7.629 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.377e-05/0.7201, allocations: 20 kB / 1.167 GB, free: 7.609 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.7202, allocations: 70.47 kB / 1.167 GB, free: 7.539 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7202, allocations: 0 / 1.167 GB, free: 7.539 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000178/0.7204, allocations: 111.1 kB / 1.167 GB, free: 7.426 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.7204, allocations: 4 kB / 1.167 GB, free: 7.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.7204, allocations: 0 / 1.167 GB, free: 7.422 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.7204, allocations: 4 kB / 1.167 GB, free: 7.418 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.7206, allocations: 23.98 kB / 1.167 GB, free: 7.395 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.7206, allocations: 0 / 1.167 GB, free: 7.395 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.7206, allocations: 11.84 kB / 1.167 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.7206, allocations: 7.984 kB / 1.167 GB, free: 7.375 MB / 0.92 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 7.916e-05/0.7207, allocations: 118.3 kB / 1.167 GB, free: 7.25 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.7208, allocations: 7.906 kB / 1.168 GB, free: 7.242 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004169/0.7212, allocations: 371.7 kB / 1.168 GB, free: 6.879 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.7212, allocations: 4 kB / 1.168 GB, free: 6.875 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7212, allocations: 0 / 1.168 GB, free: 6.875 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.7212, allocations: 7.922 kB / 1.168 GB, free: 6.867 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.7215, allocations: 281.4 kB / 1.168 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7215, allocations: 0 / 1.168 GB, free: 6.543 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.7216, allocations: 23.92 kB / 1.168 GB, free: 6.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.7216, allocations: 4 kB / 1.168 GB, free: 6.516 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.7216, allocations: 4 kB / 1.168 GB, free: 6.512 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.7216, allocations: 4 kB / 1.168 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.7216, allocations: 0 / 1.168 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.722, allocations: 330.9 kB / 1.168 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.439e-05/0.722, allocations: 104.8 kB / 1.169 GB, free: 6.047 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.7221, allocations: 7.938 kB / 1.169 GB, free: 6.039 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.7222, allocations: 4 kB / 1.169 GB, free: 6.035 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.7222, allocations: 19.92 kB / 1.169 GB, free: 6.016 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.7223, allocations: 11.98 kB / 1.169 GB, free: 6.004 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.524e-05/0.7223, allocations: 75.28 kB / 1.169 GB, free: 5.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.325e-06/0.7223, allocations: 0 / 1.169 GB, free: 5.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007455/0.7231, allocations: 299.9 kB / 1.169 GB, free: 5.637 MB / 0.92 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.001757/0.7248, allocations: 1.161 MB / 1.17 GB, free: 4.449 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.725, allocations: 129.4 kB / 1.17 GB, free: 4.324 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.725, allocations: 0 / 1.17 GB, free: 4.324 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.7252, allocations: 111.9 kB / 1.17 GB, free: 4.215 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.7255, allocations: 22.27 kB / 1.17 GB, free: 4.195 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.7264, allocations: 487.8 kB / 1.171 GB, free: 3.676 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.7266, allocations: 0.7169 MB / 1.172 GB, free: 2.934 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001069/0.7267, allocations: 28.34 kB / 1.172 GB, free: 2.906 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.981e-05/0.7268, allocations: 39.41 kB / 1.172 GB, free: 2.867 MB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.7268, allocations: 0 / 1.172 GB, free: 2.867 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4834/1.21, allocations: 11.44 MB / 1.183 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/1.211, allocations: 210.6 kB / 1.183 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.014/3.224, allocations: 0 / 1.183 GB, free: 7.262 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches