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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001454, allocations: 196 kB / 16.53 MB, free: 6.699 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.267/1.267, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.39/2.39, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 67.66 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2342, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1219/0.3562, allocations: 135.5 MB / 1.185 GB, free: 216 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007283/0.3635, allocations: 7.927 MB / 1.193 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.3635, allocations: 0 / 1.193 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000134/0.3637, allocations: 31.83 kB / 1.193 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.12e-05/0.3638, allocations: 15.84 kB / 1.193 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/0.3662, allocations: 1.455 MB / 1.194 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.651e-05/0.3663, allocations: 75.64 kB / 1.195 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.27e-05/0.3663, allocations: 4 kB / 1.195 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3664, allocations: 43.84 kB / 1.195 GB, free: 6.633 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.742e-05/0.3665, allocations: 39.83 kB / 1.195 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3665, allocations: 4 kB / 1.195 GB, free: 6.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003314/0.3698, allocations: 2.645 MB / 1.197 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.3699, allocations: 15.97 kB / 1.197 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.113e-05/0.3699, allocations: 27.86 kB / 1.197 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.3713, allocations: 1.384 MB / 1.199 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3713, allocations: 0 / 1.199 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3713, allocations: 0 / 1.199 GB, free: 2.512 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.3713, allocations: 0 / 1.199 GB, free: 2.512 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.0007471/0.372, allocations: 495.2 kB / 1.199 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.3721, allocations: 8.625 kB / 1.199 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.3721, allocations: 46.73 kB / 1.199 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002997/0.3724, allocations: 24.83 kB / 1.199 GB, free: 1.895 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.147e-05/0.3725, allocations: 172.3 kB / 1.199 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.461e-05/0.3726, allocations: 34.02 kB / 1.199 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.3726, allocations: 11.98 kB / 1.199 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.3729, allocations: 109.6 kB / 1.199 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.121e-06/0.3729, allocations: 0 / 1.199 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.3729, allocations: 8 kB / 1.199 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.3729, allocations: 0 / 1.199 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002443/0.3732, allocations: 127.8 kB / 1.2 GB, free: 1.391 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.0003826/0.3736, allocations: 376.1 kB / 1.2 GB, free: 0.9609 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.3738, allocations: 126.6 kB / 1.2 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.345e-05/0.3739, allocations: 52.83 kB / 1.2 GB, free: 0.7734 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.384, allocations: 4.203 MB / 1.204 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.384, allocations: 34.5 kB / 1.204 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.414e-06/0.3841, allocations: 0 / 1.204 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0003905/0.3844, allocations: 169.5 kB / 1.204 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.3845, allocations: 51.41 kB / 1.204 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.647e-05/0.3845, allocations: 113.8 kB / 1.205 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3846, allocations: 33.64 kB / 1.205 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.649e-05/0.3846, allocations: 84.22 kB / 1.205 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.16e-05/0.3846, allocations: 47.34 kB / 1.205 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.942e-05/0.3847, allocations: 29.7 kB / 1.205 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/0.3848, allocations: 314.8 kB / 1.205 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.3848, allocations: 23.98 kB / 1.205 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.3849, allocations: 27.98 kB / 1.205 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.385, allocations: 75.41 kB / 1.205 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.385, allocations: 4 kB / 1.205 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001611/0.3851, allocations: 105.6 kB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.3852, allocations: 8.938 kB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.3852, allocations: 0 / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.3852, allocations: 0 / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.3853, allocations: 23.98 kB / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3853, allocations: 0 / 1.205 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.213e-05/0.3853, allocations: 11.88 kB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.3854, allocations: 4 kB / 1.205 GB, free: 11.05 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 6.212e-05/0.3854, allocations: 117.8 kB / 1.205 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.3855, allocations: 7.906 kB / 1.205 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003723/0.3859, allocations: 371.7 kB / 1.206 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.3859, allocations: 7.984 kB / 1.206 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3859, allocations: 4 kB / 1.206 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3859, allocations: 3.938 kB / 1.206 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/0.3861, allocations: 277.4 kB / 1.206 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3861, allocations: 3.938 kB / 1.206 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.3862, allocations: 19.98 kB / 1.206 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3862, allocations: 4 kB / 1.206 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.3862, allocations: 0 / 1.206 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3862, allocations: 0 / 1.206 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.3863, allocations: 3.984 kB / 1.206 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.3866, allocations: 334.9 kB / 1.206 GB, free: 9.84 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.3866, allocations: 108.8 kB / 1.207 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.709e-05/0.3866, allocations: 7.984 kB / 1.207 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3868, allocations: 15.88 kB / 1.207 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.3868, allocations: 11.92 kB / 1.207 GB, free: 9.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3868, allocations: 4 kB / 1.207 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.3869, allocations: 91.2 kB / 1.207 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3869, allocations: 0 / 1.207 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005671/0.3874, allocations: 295.9 kB / 1.207 GB, free: 9.297 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.001395/0.3888, allocations: 1.151 MB / 1.208 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002006/0.389, allocations: 131.9 kB / 1.208 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3891, allocations: 0 / 1.208 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.3892, allocations: 111.9 kB / 1.208 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3894, allocations: 19.92 kB / 1.208 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007105/0.3902, allocations: 434.7 kB / 1.209 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.3904, allocations: 0.7166 MB / 1.209 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.188e-05/0.3905, allocations: 24.34 kB / 1.209 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.938e-05/0.3905, allocations: 39.42 kB / 1.209 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.3905, allocations: 4 kB / 1.21 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.189/2.579, allocations: 11.62 MB / 1.221 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/14.2, allocations: 8.625 kB / 1.221 GB, free: 11.04 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