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.001361/0.001361, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001597/0.001598, allocations: 196.1 kB / 16.14 MB, free: 6.656 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.269/1.269, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.481/2.481, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.02 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2559, allocations: 157.4 MB / 1.052 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1239/0.3798, allocations: 133.5 MB / 1.183 GB, free: 2.215 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.009371/0.3892, allocations: 8.494 MB / 1.191 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.144e-05/0.3892, allocations: 4 kB / 1.191 GB, free: 9.688 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001623/0.3895, allocations: 31.88 kB / 1.191 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.374e-05/0.3895, allocations: 11.86 kB / 1.191 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.3924, allocations: 1.151 MB / 1.192 GB, free: 8.496 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.3925, allocations: 83.58 kB / 1.192 GB, free: 8.414 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.814e-05/0.3926, allocations: 4 kB / 1.192 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.3927, allocations: 43.83 kB / 1.192 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.299e-05/0.3928, allocations: 27.86 kB / 1.192 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.3928, allocations: 4 kB / 1.192 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003956/0.3968, allocations: 2.657 MB / 1.195 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.3968, allocations: 11.97 kB / 1.195 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.3968, allocations: 39.86 kB / 1.195 GB, free: 5.625 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.3987, allocations: 1.376 MB / 1.196 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3987, allocations: 0 / 1.196 GB, free: 4.246 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3987, allocations: 3.938 kB / 1.196 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3987, allocations: 0 / 1.196 GB, free: 4.242 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.0009434/0.3997, allocations: 0.4913 MB / 1.197 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.3997, allocations: 15.97 kB / 1.197 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.3998, allocations: 38.75 kB / 1.197 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003524/0.4001, allocations: 28.81 kB / 1.197 GB, free: 3.613 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.4002, allocations: 168.3 kB / 1.197 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.4003, allocations: 34.02 kB / 1.197 GB, free: 3.371 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.4003, allocations: 8 kB / 1.197 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003394/0.4007, allocations: 121.6 kB / 1.197 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4007, allocations: 3.938 kB / 1.197 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4007, allocations: 4 kB / 1.197 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4007, allocations: 0 / 1.197 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002718/0.401, allocations: 119.8 kB / 1.197 GB, free: 3.113 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.0004549/0.4015, allocations: 380.1 kB / 1.197 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.4017, allocations: 118.6 kB / 1.198 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.745e-05/0.4018, allocations: 56.77 kB / 1.198 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.4119, allocations: 4.203 MB / 1.202 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.4119, allocations: 34.55 kB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.4119, allocations: 4 kB / 1.202 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004363/0.4124, allocations: 161.5 kB / 1.202 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.4124, allocations: 55.41 kB / 1.202 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.4125, allocations: 101.8 kB / 1.202 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4125, allocations: 25.7 kB / 1.202 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.4126, allocations: 92.2 kB / 1.202 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.4126, allocations: 51.3 kB / 1.202 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.4127, allocations: 25.72 kB / 1.202 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.218e-05/0.4127, allocations: 314.8 kB / 1.203 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.512e-05/0.4128, allocations: 27.92 kB / 1.203 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.254e-05/0.4128, allocations: 29.61 kB / 1.203 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.949e-05/0.413, allocations: 60.86 kB / 1.203 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.413, allocations: 0 / 1.203 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001729/0.4131, allocations: 120.2 kB / 1.203 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4132, allocations: 4 kB / 1.203 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4132, allocations: 3.984 kB / 1.203 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.4132, allocations: 0 / 1.203 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4133, allocations: 27.94 kB / 1.203 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4133, allocations: 3.984 kB / 1.203 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.4134, allocations: 3.938 kB / 1.203 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.087e-05/0.4134, allocations: 4 kB / 1.203 GB, free: 12.78 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 7.79e-05/0.4135, allocations: 117.8 kB / 1.203 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.4136, allocations: 7.906 kB / 1.203 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004209/0.414, allocations: 379.5 kB / 1.203 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.414, allocations: 12.17 kB / 1.203 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.414, allocations: 0 / 1.203 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.414, allocations: 7.922 kB / 1.203 GB, free: 12.26 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.4143, allocations: 281.4 kB / 1.204 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4143, allocations: 0 / 1.204 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.833e-05/0.4144, allocations: 23.98 kB / 1.204 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4144, allocations: 0 / 1.204 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.4144, allocations: 0 / 1.204 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4144, allocations: 0 / 1.204 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4144, allocations: 4 kB / 1.204 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.4147, allocations: 334.8 kB / 1.204 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.4148, allocations: 112.8 kB / 1.204 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4149, allocations: 4 kB / 1.204 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.415, allocations: 7.984 kB / 1.204 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.415, allocations: 11.92 kB / 1.204 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.415, allocations: 4 kB / 1.204 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.405e-05/0.4151, allocations: 83.28 kB / 1.204 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.503e-06/0.4151, allocations: 0 / 1.204 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007287/0.4158, allocations: 299.9 kB / 1.204 GB, free: 11.03 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.00169/0.4175, allocations: 1.149 MB / 1.206 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001933/0.4177, allocations: 123.9 kB / 1.206 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4177, allocations: 0 / 1.206 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.4179, allocations: 118 kB / 1.206 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.4182, allocations: 17.64 kB / 1.206 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008562/0.419, allocations: 491.8 kB / 1.206 GB, free: 9.082 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.4193, allocations: 0.7208 MB / 1.207 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.793e-05/0.4194, allocations: 28.33 kB / 1.207 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.4194, allocations: 39.42 kB / 1.207 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.4194, allocations: 3.938 kB / 1.207 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.536/0.9555, allocations: 11.44 MB / 1.218 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.9557, allocations: 211.7 kB / 1.218 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4/4.956, allocations: 0 / 1.218 GB, free: 12.68 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