Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_9_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.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 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.001292/0.001292, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.279/1.279, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 59.91 kB / 0.8126 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5413/0.5426, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1307/0.6734, allocations: 135.6 MB / 1.082 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00809/0.6815, allocations: 7.927 MB / 1.09 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.6816, allocations: 8 kB / 1.09 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.6818, allocations: 27.77 kB / 1.09 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.6819, allocations: 19.83 kB / 1.09 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003179/0.6851, allocations: 1.46 MB / 1.091 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.6852, allocations: 75.64 kB / 1.091 GB, free: 176 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.532e-05/0.6853, allocations: 4 kB / 1.091 GB, free: 172 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.6854, allocations: 51.78 kB / 1.091 GB, free: 120 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.6855, allocations: 31.89 kB / 1.091 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.6855, allocations: 4 kB / 1.091 GB, free: 84 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003564/0.6891, allocations: 2.645 MB / 1.094 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.368e-05/0.6891, allocations: 15.91 kB / 1.094 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.6892, allocations: 31.86 kB / 1.094 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001583/0.6907, allocations: 1.38 MB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.6908, allocations: 3.938 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.116e-06/0.6908, allocations: 4 kB / 1.095 GB, free: 12 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.6908, allocations: 0 / 1.095 GB, free: 12 MB / 0.8575 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.0008669/0.6917, allocations: 499.2 kB / 1.096 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.6917, allocations: 8.031 kB / 1.096 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.6917, allocations: 42.73 kB / 1.096 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003385/0.6921, allocations: 20.83 kB / 1.096 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001106/0.6922, allocations: 168.3 kB / 1.096 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.6923, allocations: 41.94 kB / 1.096 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.6923, allocations: 8 kB / 1.096 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.6926, allocations: 117.5 kB / 1.096 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.6927, allocations: 0 / 1.096 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.6927, allocations: 8 kB / 1.096 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.6927, allocations: 0 / 1.096 GB, free: 11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002776/0.693, allocations: 119.9 kB / 1.096 GB, free: 10.88 MB / 0.8575 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.0004467/0.6934, allocations: 372.1 kB / 1.097 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.6937, allocations: 130.5 kB / 1.097 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.155e-05/0.6938, allocations: 56.83 kB / 1.097 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01092/0.7047, allocations: 4.202 MB / 1.101 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.7047, allocations: 34.56 kB / 1.101 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.865e-06/0.7048, allocations: 3.984 kB / 1.101 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005005/0.7053, allocations: 164.4 kB / 1.101 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.7053, allocations: 55.41 kB / 1.101 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.7054, allocations: 105.7 kB / 1.101 GB, free: 5.348 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.7054, allocations: 33.7 kB / 1.101 GB, free: 5.309 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/0.7055, allocations: 80.14 kB / 1.102 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.26e-05/0.7055, allocations: 47.42 kB / 1.102 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.7056, allocations: 29.7 kB / 1.102 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.7057, allocations: 318.8 kB / 1.102 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.7057, allocations: 23.98 kB / 1.102 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.245e-05/0.7058, allocations: 35.98 kB / 1.102 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.7059, allocations: 64.84 kB / 1.102 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.7059, allocations: 0 / 1.102 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000198/0.7061, allocations: 103.9 kB / 1.102 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.7062, allocations: 5.25 kB / 1.102 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.7062, allocations: 7.938 kB / 1.102 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.7062, allocations: 0 / 1.102 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.7063, allocations: 23.92 kB / 1.102 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.7064, allocations: 0 / 1.102 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.7064, allocations: 15.84 kB / 1.102 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/0.7064, allocations: 4 kB / 1.102 GB, free: 4.539 MB / 0.8575 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 0.0001126/0.7066, allocations: 113.8 kB / 1.102 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.714e-05/0.7066, allocations: 7.984 kB / 1.102 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004561/0.7071, allocations: 379.5 kB / 1.103 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.7071, allocations: 3.984 kB / 1.103 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7071, allocations: 4 kB / 1.103 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.7071, allocations: 3.938 kB / 1.103 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.7074, allocations: 281.4 kB / 1.103 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.7074, allocations: 0 / 1.103 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.985e-05/0.7075, allocations: 23.98 kB / 1.103 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.7075, allocations: 0 / 1.103 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7075, allocations: 7.984 kB / 1.103 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.7076, allocations: 0 / 1.103 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.7076, allocations: 3.984 kB / 1.103 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.7079, allocations: 338.9 kB / 1.103 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.776e-05/0.708, allocations: 104.8 kB / 1.103 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.708, allocations: 7.938 kB / 1.103 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.7081, allocations: 4 kB / 1.103 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.447e-05/0.7082, allocations: 15.92 kB / 1.103 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.7082, allocations: 4 kB / 1.103 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.7082, allocations: 83.27 kB / 1.104 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7082, allocations: 4 kB / 1.104 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008018/0.709, allocations: 299.9 kB / 1.104 GB, free: 2.781 MB / 0.8575 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.00175/0.7108, allocations: 1.144 MB / 1.105 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002313/0.711, allocations: 135.9 kB / 1.105 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.711, allocations: 0 / 1.105 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.7112, allocations: 115.9 kB / 1.105 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.7115, allocations: 24.95 kB / 1.105 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.7124, allocations: 426.1 kB / 1.106 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002214/0.7126, allocations: 0.7127 MB / 1.106 GB, free: 152 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.877e-05/0.7127, allocations: 32.34 kB / 1.106 GB, free: 120 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.743e-05/0.7128, allocations: 39.42 kB / 1.106 GB, free: 80 kB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.7128, allocations: 0 / 1.106 GB, free: 80 kB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.32/2.033, allocations: 11.61 MB / 1.118 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/13.83, allocations: 11.86 kB / 1.118 GB, free: 4.523 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches