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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001712/0.001712, allocations: 191.1 kB / 16.14 MB, free: 6.711 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.213/2.213, allocations: 390.2 MB / 0.6643 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 55.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.574/0.5754, allocations: 140.4 MB / 0.949 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1412/0.7166, allocations: 133.5 MB / 1.079 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009937/0.7265, allocations: 8.51 MB / 1.088 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.85e-05/0.7266, allocations: 0 / 1.088 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.7268, allocations: 23.89 kB / 1.088 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.654e-05/0.7269, allocations: 15.86 kB / 1.088 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.7298, allocations: 1.154 MB / 1.089 GB, free: 2.359 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.7299, allocations: 71.66 kB / 1.089 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.73, allocations: 7.984 kB / 1.089 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.7301, allocations: 39.84 kB / 1.089 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.306e-05/0.7302, allocations: 35.84 kB / 1.089 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.7302, allocations: 4 kB / 1.089 GB, free: 2.203 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004202/0.7344, allocations: 2.665 MB / 1.092 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.7345, allocations: 8 kB / 1.092 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.001e-05/0.7346, allocations: 39.84 kB / 1.092 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.7365, allocations: 1.372 MB / 1.093 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.7366, allocations: 0 / 1.093 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7366, allocations: 4 kB / 1.093 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.7366, allocations: 0 / 1.093 GB, free: 14.11 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.001026/0.7376, allocations: 0.4913 MB / 1.094 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.7377, allocations: 8.031 kB / 1.094 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.7377, allocations: 42.69 kB / 1.094 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003525/0.7381, allocations: 32.81 kB / 1.094 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.7382, allocations: 168.3 kB / 1.094 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/0.7382, allocations: 30.02 kB / 1.094 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.7383, allocations: 12 kB / 1.094 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.7386, allocations: 114.9 kB / 1.094 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7387, allocations: 0 / 1.094 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.7387, allocations: 8 kB / 1.094 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7387, allocations: 0 / 1.094 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.739, allocations: 115.8 kB / 1.094 GB, free: 12.99 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.0004875/0.7395, allocations: 384 kB / 1.094 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.7398, allocations: 126.6 kB / 1.094 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.677e-05/0.7398, allocations: 48.84 kB / 1.095 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.7511, allocations: 4.214 MB / 1.099 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.7511, allocations: 34.5 kB / 1.099 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.283e-06/0.7512, allocations: 0 / 1.099 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.00051/0.7517, allocations: 166.7 kB / 1.099 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.7517, allocations: 51.41 kB / 1.099 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.565e-05/0.7518, allocations: 109.7 kB / 1.099 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.7518, allocations: 29.7 kB / 1.099 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.7519, allocations: 88.14 kB / 1.099 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-05/0.7519, allocations: 43.44 kB / 1.099 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/0.752, allocations: 25.72 kB / 1.099 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7521, allocations: 322.8 kB / 1.099 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.7521, allocations: 19.98 kB / 1.1 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.286e-05/0.7522, allocations: 33.92 kB / 1.1 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.7523, allocations: 72.84 kB / 1.1 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7523, allocations: 0 / 1.1 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002215/0.7525, allocations: 107.3 kB / 1.1 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7526, allocations: 4 kB / 1.1 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.7526, allocations: 4 kB / 1.1 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7526, allocations: 0 / 1.1 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.7527, allocations: 23.92 kB / 1.1 GB, free: 6.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.7527, allocations: 3.984 kB / 1.1 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/0.7528, allocations: 11.84 kB / 1.1 GB, free: 6.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.7528, allocations: 4 kB / 1.1 GB, free: 6.641 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 8.324e-05/0.7529, allocations: 113.8 kB / 1.1 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.753, allocations: 8 kB / 1.1 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.7534, allocations: 375.5 kB / 1.1 GB, free: 6.137 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.7534, allocations: 8.172 kB / 1.1 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7534, allocations: 4 kB / 1.1 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.7535, allocations: 7.922 kB / 1.1 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.7537, allocations: 281.4 kB / 1.101 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.7537, allocations: 0 / 1.101 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.7539, allocations: 19.98 kB / 1.101 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.7539, allocations: 0 / 1.101 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.7539, allocations: 12 kB / 1.101 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7539, allocations: 0 / 1.101 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.7539, allocations: 0 / 1.101 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.7542, allocations: 334.8 kB / 1.101 GB, free: 5.418 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.7543, allocations: 108.8 kB / 1.101 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.7544, allocations: 3.938 kB / 1.101 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.7545, allocations: 11.98 kB / 1.101 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.498e-05/0.7545, allocations: 11.92 kB / 1.101 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.7546, allocations: 7.938 kB / 1.101 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.7546, allocations: 87.27 kB / 1.101 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.7546, allocations: 0 / 1.101 GB, free: 5.172 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007348/0.7553, allocations: 295.9 kB / 1.101 GB, free: 4.883 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.001771/0.7571, allocations: 1.145 MB / 1.102 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000215/0.7573, allocations: 120 kB / 1.103 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.7574, allocations: 0 / 1.103 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.7575, allocations: 117.3 kB / 1.103 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.7578, allocations: 15.92 kB / 1.103 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008684/0.7587, allocations: 499.7 kB / 1.103 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.7589, allocations: 0.7246 MB / 1.104 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.759, allocations: 24.34 kB / 1.104 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.793e-05/0.7591, allocations: 39.42 kB / 1.104 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of SimCode: time 2.41e-07/0.7591, allocations: 0 / 1.104 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.135/0.8941, allocations: 11.44 MB / 1.115 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.8943, allocations: 207.6 kB / 1.115 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.086, allocations: 0 / 1.115 GB, free: 6.516 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