Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_10_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.001471/0.001471, 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.001718/0.001718, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.393/2.393, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001514, allocations: 63.89 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5711/0.5727, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1329/0.7057, allocations: 135.5 MB / 1.15 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.00794/0.7136, allocations: 7.927 MB / 1.158 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.245e-05/0.7137, allocations: 0 / 1.158 GB, free: 2.445 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.7139, allocations: 23.89 kB / 1.158 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.7139, allocations: 23.78 kB / 1.158 GB, free: 2.398 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003034/0.717, allocations: 1.454 MB / 1.159 GB, free: 0.9453 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.7171, allocations: 79.62 kB / 1.159 GB, free: 0.8672 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.7171, allocations: 4 kB / 1.159 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.7172, allocations: 39.86 kB / 1.159 GB, free: 0.8242 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.7173, allocations: 43.83 kB / 1.159 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.7174, allocations: 4 kB / 1.159 GB, free: 0.7773 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003862/0.7212, allocations: 2.641 MB / 1.162 GB, free: 14.13 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.7213, allocations: 7.984 kB / 1.162 GB, free: 14.12 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.978e-05/0.7213, allocations: 35.84 kB / 1.162 GB, free: 14.09 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.7231, allocations: 1.376 MB / 1.163 GB, free: 12.71 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.7231, allocations: 0 / 1.163 GB, free: 12.71 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7231, allocations: 0 / 1.163 GB, free: 12.71 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.7231, allocations: 0 / 1.163 GB, free: 12.71 MB / 0.92 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.0009176/0.724, allocations: 0.4991 MB / 1.164 GB, free: 12.16 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7241, allocations: 8.031 kB / 1.164 GB, free: 12.16 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.657e-05/0.7241, allocations: 38.75 kB / 1.164 GB, free: 12.11 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003379/0.7244, allocations: 28.81 kB / 1.164 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.7246, allocations: 168.3 kB / 1.164 GB, free: 11.88 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.7246, allocations: 34.02 kB / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.7247, allocations: 8 kB / 1.164 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003374/0.725, allocations: 121.6 kB / 1.164 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.725, allocations: 0 / 1.164 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.725, allocations: 4 kB / 1.164 GB, free: 11.7 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7251, allocations: 0 / 1.164 GB, free: 11.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.7253, allocations: 115.9 kB / 1.164 GB, free: 11.59 MB / 0.92 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.0004967/0.7258, allocations: 388 kB / 1.164 GB, free: 11.15 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.7261, allocations: 134.5 kB / 1.165 GB, free: 11.01 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.365e-05/0.7262, allocations: 48.84 kB / 1.165 GB, free: 10.96 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.7373, allocations: 4.207 MB / 1.169 GB, free: 6.434 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.7373, allocations: 30.56 kB / 1.169 GB, free: 6.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.7374, allocations: 4 kB / 1.169 GB, free: 6.391 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004641/0.7378, allocations: 169.5 kB / 1.169 GB, free: 6.219 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.7379, allocations: 55.41 kB / 1.169 GB, free: 6.152 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.269e-05/0.7379, allocations: 105.8 kB / 1.169 GB, free: 6.039 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.738, allocations: 25.7 kB / 1.169 GB, free: 6.008 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.65e-05/0.738, allocations: 80.14 kB / 1.169 GB, free: 5.926 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.738, allocations: 51.44 kB / 1.169 GB, free: 5.875 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.672e-05/0.7381, allocations: 29.7 kB / 1.169 GB, free: 5.84 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.7382, allocations: 314.8 kB / 1.17 GB, free: 5.523 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.504e-05/0.7383, allocations: 27.98 kB / 1.17 GB, free: 5.496 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.214e-05/0.7383, allocations: 27.98 kB / 1.17 GB, free: 5.469 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.7385, allocations: 72.72 kB / 1.17 GB, free: 5.398 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7385, allocations: 0 / 1.17 GB, free: 5.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001851/0.7387, allocations: 109.6 kB / 1.17 GB, free: 5.285 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.7387, allocations: 4 kB / 1.17 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.7387, allocations: 0 / 1.17 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.7387, allocations: 0 / 1.17 GB, free: 5.281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.7389, allocations: 27.98 kB / 1.17 GB, free: 5.254 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.7389, allocations: 0 / 1.17 GB, free: 5.254 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.739, allocations: 11.84 kB / 1.17 GB, free: 5.242 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.739, allocations: 4 kB / 1.17 GB, free: 5.238 MB / 0.92 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 8.589e-05/0.7391, allocations: 121.8 kB / 1.17 GB, free: 5.109 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.7391, allocations: 3.906 kB / 1.17 GB, free: 5.105 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004484/0.7396, allocations: 363.8 kB / 1.17 GB, free: 4.75 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.7396, allocations: 7.984 kB / 1.17 GB, free: 4.742 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7396, allocations: 0 / 1.17 GB, free: 4.742 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.7396, allocations: 3.938 kB / 1.17 GB, free: 4.738 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002932/0.7399, allocations: 281.4 kB / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.74, allocations: 0 / 1.171 GB, free: 4.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-05/0.7401, allocations: 27.92 kB / 1.171 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.7401, allocations: 0 / 1.171 GB, free: 4.387 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.7401, allocations: 4 kB / 1.171 GB, free: 4.383 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.7401, allocations: 0 / 1.171 GB, free: 4.383 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7401, allocations: 8 kB / 1.171 GB, free: 4.375 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.7404, allocations: 338.8 kB / 1.171 GB, free: 4.027 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.179e-05/0.7405, allocations: 100.8 kB / 1.171 GB, free: 3.91 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.7405, allocations: 8 kB / 1.171 GB, free: 3.902 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.7407, allocations: 7.984 kB / 1.171 GB, free: 3.895 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.7407, allocations: 11.92 kB / 1.171 GB, free: 3.883 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.7407, allocations: 4 kB / 1.171 GB, free: 3.879 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.796e-05/0.7407, allocations: 91.27 kB / 1.171 GB, free: 3.789 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.7407, allocations: 0 / 1.171 GB, free: 3.789 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007367/0.7415, allocations: 295.9 kB / 1.171 GB, free: 3.5 MB / 0.92 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.001595/0.7431, allocations: 1.157 MB / 1.173 GB, free: 2.316 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002203/0.7433, allocations: 129 kB / 1.173 GB, free: 2.191 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7433, allocations: 0 / 1.173 GB, free: 2.191 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.7434, allocations: 119.9 kB / 1.173 GB, free: 2.074 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.7437, allocations: 19.05 kB / 1.173 GB, free: 2.059 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/0.7445, allocations: 430 kB / 1.173 GB, free: 1.594 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.7448, allocations: 0.7127 MB / 1.174 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 9.599e-05/0.7449, allocations: 36.28 kB / 1.174 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.7449, allocations: 39.42 kB / 1.174 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of SimCode: time 2e-07/0.7449, allocations: 3.938 kB / 1.174 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1143/0.8593, allocations: 11.61 MB / 1.185 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.893/10.75, allocations: 18.25 kB / 1.185 GB, free: 5.227 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches