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.001218/0.001218, 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.001176/0.001176, allocations: 198 kB / 16.54 MB, free: 6.672 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.427/1.427, 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.792/2.792, allocations: 469.4 MB / 0.742 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.25 kB / 0.9082 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3271, allocations: 159.1 MB / 1.064 GB, free: 14.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1531/0.4802, allocations: 135.5 MB / 1.196 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.009386/0.4896, allocations: 7.919 MB / 1.204 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.4897, allocations: 0 / 1.204 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.4899, allocations: 23.83 kB / 1.204 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.833e-05/0.49, allocations: 19.84 kB / 1.204 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.4945, allocations: 1.457 MB / 1.205 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.4947, allocations: 87.64 kB / 1.205 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.4947, allocations: 4 kB / 1.205 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.4949, allocations: 43.78 kB / 1.205 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.495, allocations: 35.83 kB / 1.205 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.495, allocations: 4 kB / 1.205 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004627/0.4996, allocations: 2.641 MB / 1.208 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.009e-05/0.4997, allocations: 11.98 kB / 1.208 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.153e-05/0.4997, allocations: 31.84 kB / 1.208 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002589/0.5023, allocations: 1.38 MB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.5024, allocations: 7.938 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5024, allocations: 0 / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.5024, allocations: 4 kB / 1.209 GB, free: 8.742 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.001144/0.5035, allocations: 499.1 kB / 1.21 GB, free: 8.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5036, allocations: 8.031 kB / 1.21 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.932e-05/0.5036, allocations: 34.75 kB / 1.21 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003987/0.504, allocations: 28.81 kB / 1.21 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.5042, allocations: 168.3 kB / 1.21 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.934e-05/0.5042, allocations: 38.02 kB / 1.21 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.5043, allocations: 8 kB / 1.21 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003579/0.5046, allocations: 118.2 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.5047, allocations: 3.938 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.5047, allocations: 0 / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5047, allocations: 4 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002871/0.505, allocations: 119.8 kB / 1.21 GB, free: 7.629 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.0005104/0.5055, allocations: 380.1 kB / 1.211 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.5058, allocations: 130.6 kB / 1.211 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.107e-05/0.5059, allocations: 63.64 kB / 1.211 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/0.5173, allocations: 4.199 MB / 1.215 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.5174, allocations: 38.55 kB / 1.215 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/0.5174, allocations: 0 / 1.215 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.000505/0.5179, allocations: 161.5 kB / 1.215 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.597e-05/0.5179, allocations: 51.41 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.518, allocations: 101.8 kB / 1.215 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.518, allocations: 29.7 kB / 1.215 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.403e-05/0.5181, allocations: 92.2 kB / 1.215 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.5182, allocations: 47.36 kB / 1.215 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.5182, allocations: 25.66 kB / 1.216 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.5184, allocations: 326.8 kB / 1.216 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.5184, allocations: 23.98 kB / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.5185, allocations: 23.98 kB / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/0.5186, allocations: 72.48 kB / 1.216 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.123e-06/0.5186, allocations: 0 / 1.216 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001969/0.5188, allocations: 105.6 kB / 1.216 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.5188, allocations: 4 kB / 1.216 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5188, allocations: 4 kB / 1.216 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5189, allocations: 7.984 kB / 1.216 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.519, allocations: 23.94 kB / 1.216 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.519, allocations: 0 / 1.216 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.587e-05/0.5191, allocations: 11.92 kB / 1.216 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.5191, allocations: 0 / 1.216 GB, free: 1.285 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 9.639e-05/0.5192, allocations: 119.5 kB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.417e-05/0.5192, allocations: 11.84 kB / 1.216 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.5197, allocations: 375.7 kB / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.5197, allocations: 0 / 1.217 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5197, allocations: 3.984 kB / 1.217 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.5198, allocations: 7.938 kB / 1.217 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.52, allocations: 277.3 kB / 1.217 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.52, allocations: 0 / 1.217 GB, free: 456 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.743e-05/0.5201, allocations: 27.98 kB / 1.217 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.5201, allocations: 0 / 1.217 GB, free: 428 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.5202, allocations: 4 kB / 1.217 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5202, allocations: 0 / 1.217 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5202, allocations: 0 / 1.217 GB, free: 424 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.5205, allocations: 337 kB / 1.217 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-05/0.5206, allocations: 104.8 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.5206, allocations: 4 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.5208, allocations: 11.98 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.5208, allocations: 15.92 kB / 1.217 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.5208, allocations: 8 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.765e-05/0.5208, allocations: 79.28 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5209, allocations: 0 / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008636/0.5217, allocations: 299.9 kB / 1.218 GB, free: 15.54 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.001967/0.5237, allocations: 1.158 MB / 1.219 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002541/0.524, allocations: 139.8 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.524, allocations: 0 / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.5241, allocations: 107.9 kB / 1.219 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.5244, allocations: 25.78 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.5254, allocations: 418.2 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.5257, allocations: 0.7205 MB / 1.22 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.5258, allocations: 36.27 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.5259, allocations: 43.36 kB / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.5259, allocations: 0 / 1.22 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03327/0.5592, allocations: 11.6 MB / 1.232 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.172/8.732, allocations: 15.19 kB / 1.232 GB, free: 1.285 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv","/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