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.001142/0.001142, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001196/0.001196, allocations: 192.4 kB / 16.25 MB, free: 6.621 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.22/1.22, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.458/2.458, allocations: 437.1 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 0.8688 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5734, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1246/0.698, allocations: 133.6 MB / 1.147 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008556/0.7066, allocations: 7.971 MB / 1.155 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.7067, allocations: 0 / 1.155 GB, free: 4.555 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001546/0.7069, allocations: 23.89 kB / 1.155 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 4.721e-05/0.7069, allocations: 19.84 kB / 1.155 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003197/0.7101, allocations: 1.291 MB / 1.156 GB, free: 3.223 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.7102, allocations: 71.66 kB / 1.157 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.247e-05/0.7103, allocations: 4 kB / 1.157 GB, free: 3.148 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.7104, allocations: 47.83 kB / 1.157 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.7105, allocations: 31.84 kB / 1.157 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.7105, allocations: 4 kB / 1.157 GB, free: 3.066 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.7144, allocations: 2.645 MB / 1.159 GB, free: 428 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 2.134e-05/0.7144, allocations: 11.98 kB / 1.159 GB, free: 416 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.7145, allocations: 39.86 kB / 1.159 GB, free: 376 kB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001878/0.7164, allocations: 1.38 MB / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7164, allocations: 0 / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.232e-06/0.7164, allocations: 0 / 1.161 GB, free: 14.98 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.7164, allocations: 0 / 1.161 GB, free: 14.98 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.001011/0.7174, allocations: 0.4913 MB / 1.161 GB, free: 14.45 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.7175, allocations: 8.031 kB / 1.161 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.7175, allocations: 38.75 kB / 1.161 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.7179, allocations: 28.81 kB / 1.161 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.718, allocations: 172.3 kB / 1.161 GB, free: 14.16 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.7181, allocations: 38.02 kB / 1.161 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.7181, allocations: 4 kB / 1.161 GB, free: 14.11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003847/0.7185, allocations: 117.6 kB / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.7185, allocations: 0 / 1.161 GB, free: 13.99 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.7186, allocations: 4 kB / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7186, allocations: 0 / 1.161 GB, free: 13.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002925/0.7189, allocations: 118 kB / 1.162 GB, free: 13.87 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.0004486/0.7193, allocations: 392 kB / 1.162 GB, free: 13.43 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.7196, allocations: 118.6 kB / 1.162 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.665e-05/0.7197, allocations: 56.81 kB / 1.162 GB, free: 13.24 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.7308, allocations: 4.207 MB / 1.166 GB, free: 8.719 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.7308, allocations: 34.55 kB / 1.166 GB, free: 8.676 MB / 0.92 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.7308, allocations: 0 / 1.166 GB, free: 8.676 MB / 0.92 GB Notification: Performance of matching and sorting (n=13): time 0.0004463/0.7313, allocations: 169 kB / 1.166 GB, free: 8.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.096e-05/0.7313, allocations: 55.41 kB / 1.167 GB, free: 8.441 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.901e-05/0.7314, allocations: 101.8 kB / 1.167 GB, free: 8.332 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.7314, allocations: 29.64 kB / 1.167 GB, free: 8.297 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.7315, allocations: 92.12 kB / 1.167 GB, free: 8.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.7315, allocations: 47.44 kB / 1.167 GB, free: 8.156 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.7315, allocations: 25.72 kB / 1.167 GB, free: 8.125 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 8.8e-05/0.7316, allocations: 322.8 kB / 1.167 GB, free: 7.801 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.7317, allocations: 23.98 kB / 1.167 GB, free: 7.777 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.7317, allocations: 31.92 kB / 1.167 GB, free: 7.75 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.7319, allocations: 64.86 kB / 1.167 GB, free: 7.684 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.7319, allocations: 0 / 1.167 GB, free: 7.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001729/0.732, allocations: 113.6 kB / 1.167 GB, free: 7.566 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.7321, allocations: 4 kB / 1.167 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.7321, allocations: 0 / 1.167 GB, free: 7.562 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.7321, allocations: 3.984 kB / 1.167 GB, free: 7.559 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.7322, allocations: 16 kB / 1.167 GB, free: 7.543 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.7322, allocations: 4 kB / 1.167 GB, free: 7.539 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.7323, allocations: 12.02 kB / 1.167 GB, free: 7.527 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.7323, allocations: 8 kB / 1.167 GB, free: 7.52 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 7.378e-05/0.7324, allocations: 118.3 kB / 1.167 GB, free: 7.395 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.726e-05/0.7324, allocations: 11.89 kB / 1.167 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.7329, allocations: 359.8 kB / 1.168 GB, free: 7.031 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.639e-06/0.7329, allocations: 8 kB / 1.168 GB, free: 7.023 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.7329, allocations: 3.984 kB / 1.168 GB, free: 7.02 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.7329, allocations: 3.938 kB / 1.168 GB, free: 7.016 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.7332, allocations: 281.4 kB / 1.168 GB, free: 6.691 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.7332, allocations: 0 / 1.168 GB, free: 6.691 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.7333, allocations: 27.92 kB / 1.168 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.7333, allocations: 0 / 1.168 GB, free: 6.664 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.7333, allocations: 4 kB / 1.168 GB, free: 6.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7333, allocations: 0 / 1.168 GB, free: 6.66 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7333, allocations: 0 / 1.168 GB, free: 6.66 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003234/0.7337, allocations: 334.8 kB / 1.168 GB, free: 6.316 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/0.7337, allocations: 104.8 kB / 1.169 GB, free: 6.195 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.7338, allocations: 4 kB / 1.169 GB, free: 6.191 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.7339, allocations: 11.98 kB / 1.169 GB, free: 6.18 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.7339, allocations: 11.92 kB / 1.169 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.7339, allocations: 4 kB / 1.169 GB, free: 6.164 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.734, allocations: 87.22 kB / 1.169 GB, free: 6.078 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.734, allocations: 0 / 1.169 GB, free: 6.078 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007534/0.7348, allocations: 299.9 kB / 1.169 GB, free: 5.785 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.00172/0.7365, allocations: 1.147 MB / 1.17 GB, free: 4.613 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002274/0.7367, allocations: 139.8 kB / 1.17 GB, free: 4.477 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7367, allocations: 0 / 1.17 GB, free: 4.477 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.7369, allocations: 111.9 kB / 1.17 GB, free: 4.367 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.7372, allocations: 23.92 kB / 1.17 GB, free: 4.344 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.738, allocations: 497.9 kB / 1.171 GB, free: 3.812 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.7383, allocations: 0.7205 MB / 1.172 GB, free: 3.066 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000109/0.7384, allocations: 28.34 kB / 1.172 GB, free: 3.039 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.884e-05/0.7385, allocations: 35.42 kB / 1.172 GB, free: 3.004 MB / 0.92 GB Notification: Performance of SimCode: time 3.6e-07/0.7385, allocations: 0 / 1.172 GB, free: 3.004 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1788/0.9173, allocations: 11.54 MB / 1.183 GB, free: 7.586 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002974/0.9177, allocations: 209.2 kB / 1.183 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.256/3.174, allocations: 2.734 kB / 1.183 GB, free: 7.328 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