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.008303/0.008303, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.001892/0.001892, allocations: 195.2 kB / 16.67 MB, free: 5.93 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.169/2.169, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7721/0.7734, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1446/0.918, allocations: 135.6 MB / 1.22 GB, free: 496 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007858/0.9259, allocations: 7.917 MB / 1.228 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.591e-05/0.926, allocations: 1.562 kB / 1.228 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.9262, allocations: 27.55 kB / 1.228 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.9263, allocations: 22.66 kB / 1.228 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003615/0.9299, allocations: 1.461 MB / 1.229 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.93, allocations: 74.19 kB / 1.229 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.042e-05/0.9301, allocations: 7.438 kB / 1.229 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.9302, allocations: 41.5 kB / 1.229 GB, free: 9.023 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.342e-05/0.9303, allocations: 35.81 kB / 1.229 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.9303, allocations: 4.031 kB / 1.229 GB, free: 9 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.9343, allocations: 2.712 MB / 1.232 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.9343, allocations: 18.56 kB / 1.232 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.9344, allocations: 28.77 kB / 1.232 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001707/0.9361, allocations: 1.375 MB / 1.233 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.9361, allocations: 0 / 1.233 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9361, allocations: 0 / 1.233 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.9361, allocations: 1.375 kB / 1.233 GB, free: 6.68 MB / 0.9669 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.0008818/0.937, allocations: 0.4953 MB / 1.234 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.9371, allocations: 17.59 kB / 1.234 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.9371, allocations: 40.66 kB / 1.234 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000338/0.9374, allocations: 26.56 kB / 1.234 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.9376, allocations: 170.3 kB / 1.234 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/0.9376, allocations: 37.3 kB / 1.234 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.9377, allocations: 4.781 kB / 1.234 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.938, allocations: 119.9 kB / 1.234 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.938, allocations: 0 / 1.234 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.938, allocations: 5.156 kB / 1.234 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.938, allocations: 6.562 kB / 1.234 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002843/0.9383, allocations: 115.8 kB / 1.234 GB, free: 5.777 MB / 0.9669 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.0004315/0.9388, allocations: 381.4 kB / 1.235 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/0.939, allocations: 126.3 kB / 1.235 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.426e-05/0.9391, allocations: 57.67 kB / 1.235 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01145/0.9506, allocations: 4.23 MB / 1.239 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.9506, allocations: 34.56 kB / 1.239 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.9506, allocations: 4 kB / 1.239 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004904/0.9511, allocations: 157.5 kB / 1.239 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.9512, allocations: 59.41 kB / 1.239 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.9512, allocations: 101.8 kB / 1.239 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.9513, allocations: 33.7 kB / 1.239 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.9513, allocations: 80.14 kB / 1.239 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.9513, allocations: 43.44 kB / 1.239 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.9514, allocations: 29.7 kB / 1.239 GB, free: 1.637 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.9515, allocations: 322.8 kB / 1.24 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.684e-05/0.9516, allocations: 27.92 kB / 1.24 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.407e-05/0.9516, allocations: 27.98 kB / 1.24 GB, free: 1.258 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.9517, allocations: 67.34 kB / 1.24 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9517, allocations: 0 / 1.24 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001769/0.9519, allocations: 109.6 kB / 1.24 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9519, allocations: 8 kB / 1.24 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.9519, allocations: 0 / 1.24 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.952, allocations: 0 / 1.24 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000126/0.9521, allocations: 27.92 kB / 1.24 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.9521, allocations: 0 / 1.24 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.458e-05/0.9522, allocations: 11.94 kB / 1.24 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.9522, allocations: 4 kB / 1.24 GB, free: 1.027 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.653e-05/0.9523, allocations: 109.8 kB / 1.24 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.713e-05/0.9523, allocations: 7.906 kB / 1.24 GB, free: 0.9023 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004359/0.9528, allocations: 368.2 kB / 1.24 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.9528, allocations: 11.98 kB / 1.24 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9528, allocations: 3.938 kB / 1.24 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.9528, allocations: 7.938 kB / 1.241 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.9531, allocations: 285 kB / 1.241 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.9531, allocations: 192 / 1.241 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.866e-05/0.9532, allocations: 19.98 kB / 1.241 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.9532, allocations: 8 kB / 1.241 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.9532, allocations: 11.97 kB / 1.241 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.9532, allocations: 0 / 1.241 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.9532, allocations: 0 / 1.241 GB, free: 148 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.9536, allocations: 327.3 kB / 1.241 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.9537, allocations: 104.8 kB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.9537, allocations: 7.984 kB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.9538, allocations: 4 kB / 1.241 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.9539, allocations: 11.92 kB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.9539, allocations: 8 kB / 1.241 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.6e-05/0.9539, allocations: 83.27 kB / 1.241 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.954, allocations: 0 / 1.241 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001186/0.9551, allocations: 295.9 kB / 1.242 GB, free: 15.28 MB / 0.9825 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.001687/0.9568, allocations: 1.159 MB / 1.243 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.9571, allocations: 124 kB / 1.243 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9571, allocations: 0 / 1.243 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.9572, allocations: 111.9 kB / 1.243 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.9575, allocations: 19.86 kB / 1.243 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008316/0.9583, allocations: 434 kB / 1.243 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002405/0.9586, allocations: 0.7166 MB / 1.244 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001098/0.9587, allocations: 32.39 kB / 1.244 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.9588, allocations: 35.42 kB / 1.244 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of SimCode: time 2.3e-07/0.9588, allocations: 0 / 1.244 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.358/1.317, allocations: 11.62 MB / 1.256 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.466/9.783, allocations: 5.953 kB / 1.256 GB, free: 1.031 MB / 0.9825 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