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.002544/0.002544, 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.003501/0.003501, allocations: 191.9 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 2.665/2.665, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.183/4.183, allocations: 461.9 MB / 0.7343 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 58.39 kB / 0.8987 GB, free: 37.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4837, allocations: 157.4 MB / 1.052 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.2126/0.6963, allocations: 133.6 MB / 1.183 GB, free: 2.535 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.017/0.7133, allocations: 7.971 MB / 1.191 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.7135, allocations: 0 / 1.191 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.7138, allocations: 23.89 kB / 1.191 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 9.956e-05/0.714, allocations: 19.84 kB / 1.191 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00692/0.7209, allocations: 1.285 MB / 1.192 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.7212, allocations: 75.59 kB / 1.192 GB, free: 9.133 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.285e-05/0.7212, allocations: 7.984 kB / 1.192 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.7214, allocations: 39.84 kB / 1.192 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.7216, allocations: 39.83 kB / 1.192 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 3.262e-05/0.7216, allocations: 4 kB / 1.192 GB, free: 9.043 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007638/0.7293, allocations: 2.641 MB / 1.195 GB, free: 6.398 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.953e-05/0.7294, allocations: 15.97 kB / 1.195 GB, free: 6.383 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.7295, allocations: 39.86 kB / 1.195 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004379/0.7339, allocations: 1.376 MB / 1.196 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.7339, allocations: 0 / 1.196 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.207e-06/0.7339, allocations: 0 / 1.196 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.734, allocations: 0 / 1.196 GB, free: 4.965 MB / 0.9512 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.001844/0.7358, allocations: 0.4914 MB / 1.197 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.422e-05/0.7359, allocations: 8.625 kB / 1.197 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.653e-05/0.736, allocations: 46.67 kB / 1.197 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006725/0.7367, allocations: 24.83 kB / 1.197 GB, free: 4.34 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001746/0.7369, allocations: 168.3 kB / 1.197 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.737, allocations: 34.02 kB / 1.197 GB, free: 4.098 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.737, allocations: 11.98 kB / 1.197 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006137/0.7377, allocations: 113.6 kB / 1.197 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.7377, allocations: 0 / 1.197 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.7377, allocations: 4 kB / 1.197 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.7377, allocations: 0 / 1.197 GB, free: 3.965 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.7383, allocations: 123.8 kB / 1.197 GB, free: 3.844 MB / 0.9512 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.000881/0.7392, allocations: 380.1 kB / 1.197 GB, free: 3.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.7399, allocations: 129.6 kB / 1.198 GB, free: 3.277 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.74, allocations: 48.84 kB / 1.198 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02236/0.7624, allocations: 4.203 MB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/0.7625, allocations: 38.44 kB / 1.202 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 5.6e-06/0.7625, allocations: 0 / 1.202 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0009381/0.7635, allocations: 169.5 kB / 1.202 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.7636, allocations: 55.41 kB / 1.202 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.7637, allocations: 105.8 kB / 1.202 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.43e-05/0.7637, allocations: 25.7 kB / 1.202 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.7638, allocations: 92.22 kB / 1.202 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.7639, allocations: 47.34 kB / 1.202 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.771e-05/0.764, allocations: 29.7 kB / 1.202 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.7642, allocations: 314.8 kB / 1.203 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.7643, allocations: 23.98 kB / 1.203 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.994e-05/0.7644, allocations: 31.92 kB / 1.203 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/0.7646, allocations: 75.72 kB / 1.203 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7646, allocations: 0 / 1.203 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003528/0.765, allocations: 109.6 kB / 1.203 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.7651, allocations: 8 kB / 1.203 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7651, allocations: 0 / 1.203 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.7651, allocations: 0 / 1.203 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.7653, allocations: 27.92 kB / 1.203 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.7654, allocations: 4 kB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.881e-05/0.7655, allocations: 3.938 kB / 1.203 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.7655, allocations: 4 kB / 1.203 GB, free: 13.5 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 0.0001599/0.7657, allocations: 121.8 kB / 1.203 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.052e-05/0.7658, allocations: 7.906 kB / 1.203 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008362/0.7666, allocations: 371.6 kB / 1.203 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.127e-05/0.7667, allocations: 7.984 kB / 1.203 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.7667, allocations: 0 / 1.203 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.966e-06/0.7667, allocations: 3.938 kB / 1.203 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.7672, allocations: 281.4 kB / 1.204 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7673, allocations: 0 / 1.204 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.7675, allocations: 23.98 kB / 1.204 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.7675, allocations: 0 / 1.204 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.7675, allocations: 4 kB / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.7675, allocations: 3.984 kB / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7675, allocations: 0 / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.7682, allocations: 330.9 kB / 1.204 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001321/0.7684, allocations: 108.8 kB / 1.204 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.7684, allocations: 7.984 kB / 1.204 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002517/0.7687, allocations: 15.88 kB / 1.204 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.7688, allocations: 11.92 kB / 1.204 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.7688, allocations: 4 kB / 1.204 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.7689, allocations: 87.27 kB / 1.204 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7689, allocations: 0 / 1.204 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001847/0.7708, allocations: 295.9 kB / 1.204 GB, free: 11.75 MB / 0.9669 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.003772/0.7745, allocations: 1.15 MB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004919/0.7751, allocations: 131.8 kB / 1.206 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/0.7751, allocations: 0 / 1.206 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002737/0.7754, allocations: 112 kB / 1.206 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005763/0.776, allocations: 22.03 kB / 1.206 GB, free: 10.31 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.7779, allocations: 498.7 kB / 1.206 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.7784, allocations: 0.7166 MB / 1.207 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002179/0.7786, allocations: 24.34 kB / 1.207 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.7788, allocations: 39.42 kB / 1.207 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of SimCode: time 1.052e-06/0.7788, allocations: 0 / 1.207 GB, free: 8.98 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3951/1.174, allocations: 11.54 MB / 1.218 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/1.174, allocations: 222.2 kB / 1.219 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.036/5.211, allocations: 0 / 1.219 GB, free: 13.31 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/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