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.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009428/0.0009428, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.006894/0.006894, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.434/2.434, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 7.469 kB / 0.9029 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2499, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.121/0.371, allocations: 131.7 MB / 1.187 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008739/0.3797, allocations: 8.386 MB / 1.196 GB, free: 8.27 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.3798, allocations: 4 kB / 1.196 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.3799, allocations: 27.88 kB / 1.196 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.049e-05/0.38, allocations: 15.84 kB / 1.196 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.3826, allocations: 1.145 MB / 1.197 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.311e-05/0.3827, allocations: 75.64 kB / 1.197 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 2.88e-05/0.3827, allocations: 4 kB / 1.197 GB, free: 7 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.712e-05/0.3828, allocations: 47.83 kB / 1.197 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.032e-05/0.3829, allocations: 31.84 kB / 1.197 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.3829, allocations: 8 kB / 1.197 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.3865, allocations: 2.653 MB / 1.199 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.3865, allocations: 11.97 kB / 1.199 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.3866, allocations: 57.58 kB / 1.2 GB, free: 4.184 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.388, allocations: 1.376 MB / 1.201 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.388, allocations: 0 / 1.201 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.12e-07/0.388, allocations: 0 / 1.201 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.895e-06/0.388, allocations: 3.938 kB / 1.201 GB, free: 2.801 MB / 0.9512 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.000736/0.3888, allocations: 487.2 kB / 1.201 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.3888, allocations: 15.97 kB / 1.201 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.3888, allocations: 38.75 kB / 1.201 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003066/0.3892, allocations: 24.81 kB / 1.201 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.3893, allocations: 168.3 kB / 1.202 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.328e-05/0.3893, allocations: 38.02 kB / 1.202 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.3893, allocations: 4 kB / 1.202 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002937/0.3896, allocations: 123.9 kB / 1.202 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.48e-06/0.3897, allocations: 4 kB / 1.202 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3897, allocations: 4 kB / 1.202 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.3897, allocations: 0 / 1.202 GB, free: 1.809 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.3899, allocations: 123.8 kB / 1.202 GB, free: 1.688 MB / 0.9512 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.0003706/0.3903, allocations: 376.1 kB / 1.202 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3905, allocations: 126.6 kB / 1.202 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.77e-05/0.3906, allocations: 52.83 kB / 1.202 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01044/0.4011, allocations: 4.25 MB / 1.207 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4011, allocations: 42.55 kB / 1.207 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.966e-06/0.4012, allocations: 3.984 kB / 1.207 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0005005/0.4017, allocations: 167.2 kB / 1.207 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.4017, allocations: 51.41 kB / 1.207 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.178e-05/0.4018, allocations: 101.7 kB / 1.207 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.4018, allocations: 33.7 kB / 1.207 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.4019, allocations: 92.14 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.4019, allocations: 47.36 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.48e-05/0.4019, allocations: 13.72 kB / 1.207 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4021, allocations: 314.8 kB / 1.207 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.419e-05/0.4021, allocations: 27.98 kB / 1.207 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.523e-05/0.4022, allocations: 23.98 kB / 1.207 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.852e-05/0.4023, allocations: 70.34 kB / 1.208 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4023, allocations: 0 / 1.208 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001598/0.4024, allocations: 106.5 kB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.4025, allocations: 4 kB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4025, allocations: 4 kB / 1.208 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4025, allocations: 4 kB / 1.208 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.4026, allocations: 23.92 kB / 1.208 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.4026, allocations: 0 / 1.208 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.116e-05/0.4027, allocations: 11.84 kB / 1.208 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.4027, allocations: 4 kB / 1.208 GB, free: 11.31 MB / 0.9669 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 8.744e-05/0.4028, allocations: 121.8 kB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.4028, allocations: 7.906 kB / 1.208 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004201/0.4033, allocations: 376 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4033, allocations: 3.984 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4033, allocations: 0 / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.4033, allocations: 3.938 kB / 1.208 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.4036, allocations: 277.4 kB / 1.208 GB, free: 10.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.4036, allocations: 3.984 kB / 1.208 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.947e-05/0.4037, allocations: 24 kB / 1.208 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4037, allocations: 0 / 1.208 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.4037, allocations: 3.984 kB / 1.208 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4037, allocations: 4 kB / 1.208 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.4037, allocations: 0 / 1.208 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.404, allocations: 334.9 kB / 1.209 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.4041, allocations: 104.8 kB / 1.209 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.4041, allocations: 8 kB / 1.209 GB, free: 9.969 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.4043, allocations: 8 kB / 1.209 GB, free: 9.961 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.552e-05/0.4043, allocations: 15.92 kB / 1.209 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.4043, allocations: 7.984 kB / 1.209 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.4044, allocations: 79.28 kB / 1.209 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4044, allocations: 3.938 kB / 1.209 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008313/0.4052, allocations: 295.9 kB / 1.209 GB, free: 9.566 MB / 0.9669 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.001609/0.4068, allocations: 1.161 MB / 1.21 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.407, allocations: 126 kB / 1.211 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.407, allocations: 0 / 1.211 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.4072, allocations: 112 kB / 1.211 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.4075, allocations: 24.59 kB / 1.211 GB, free: 8.125 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009198/0.4084, allocations: 497.4 kB / 1.211 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.4087, allocations: 0.7208 MB / 1.212 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.4088, allocations: 28.34 kB / 1.212 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.915e-05/0.4088, allocations: 39.42 kB / 1.212 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.4088, allocations: 0 / 1.212 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0805/0.4894, allocations: 11.37 MB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/0.4896, allocations: 224.2 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.543, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) 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) Reference file matches