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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001595/0.001595, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00186/0.00186, allocations: 191.3 kB / 16.25 MB, free: 6.641 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.218/1.218, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.159/2.159, allocations: 390.2 MB / 0.6644 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001181, allocations: 63.91 kB / 0.8121 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4734, allocations: 140.4 MB / 0.9492 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.116/0.5894, allocations: 133.7 MB / 1.08 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007758/0.5972, allocations: 7.994 MB / 1.088 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.177e-05/0.5972, allocations: 0 / 1.088 GB, free: 3.852 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.5974, allocations: 19.89 kB / 1.088 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.5975, allocations: 23.84 kB / 1.088 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.6004, allocations: 1.281 MB / 1.089 GB, free: 2.531 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.721e-05/0.6005, allocations: 75.58 kB / 1.089 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.6005, allocations: 11.98 kB / 1.089 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.6006, allocations: 43.86 kB / 1.089 GB, free: 2.402 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.639e-05/0.6007, allocations: 31.89 kB / 1.089 GB, free: 2.371 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.6007, allocations: 4 kB / 1.089 GB, free: 2.367 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003372/0.6041, allocations: 2.653 MB / 1.092 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.6041, allocations: 15.92 kB / 1.092 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.6042, allocations: 31.84 kB / 1.092 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.6058, allocations: 1.372 MB / 1.093 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.6058, allocations: 0 / 1.093 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6058, allocations: 3.938 kB / 1.093 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.6058, allocations: 0 / 1.093 GB, free: 14.29 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.0008607/0.6067, allocations: 0.4914 MB / 1.093 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6067, allocations: 12.03 kB / 1.093 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.6067, allocations: 38.73 kB / 1.094 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.6071, allocations: 28.83 kB / 1.094 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.6072, allocations: 164.3 kB / 1.094 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.27e-05/0.6072, allocations: 38 kB / 1.094 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.6073, allocations: 11.94 kB / 1.094 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003156/0.6076, allocations: 123.8 kB / 1.094 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.6076, allocations: 0 / 1.094 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.6076, allocations: 0 / 1.094 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.6076, allocations: 4 kB / 1.094 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.6079, allocations: 115.9 kB / 1.094 GB, free: 13.16 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.0003972/0.6083, allocations: 380 kB / 1.094 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.6085, allocations: 130.5 kB / 1.094 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.8e-05/0.6086, allocations: 48.84 kB / 1.095 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009738/0.6184, allocations: 4.206 MB / 1.099 GB, free: 8.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.6184, allocations: 34.56 kB / 1.099 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.6184, allocations: 4 kB / 1.099 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0004091/0.6188, allocations: 162.9 kB / 1.099 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.6188, allocations: 59.34 kB / 1.099 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.642e-05/0.6189, allocations: 113.7 kB / 1.099 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.6189, allocations: 25.7 kB / 1.099 GB, free: 7.586 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.203e-05/0.619, allocations: 80.14 kB / 1.099 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.619, allocations: 51.44 kB / 1.099 GB, free: 7.453 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.6191, allocations: 29.7 kB / 1.099 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.656e-05/0.6191, allocations: 314.8 kB / 1.099 GB, free: 7.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.303e-05/0.6192, allocations: 27.98 kB / 1.099 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.192e-05/0.6192, allocations: 23.98 kB / 1.1 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.498e-05/0.6193, allocations: 65.97 kB / 1.1 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6193, allocations: 0 / 1.1 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001595/0.6195, allocations: 115 kB / 1.1 GB, free: 6.871 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.6195, allocations: 4 kB / 1.1 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.6195, allocations: 0 / 1.1 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.6195, allocations: 3.938 kB / 1.1 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.6197, allocations: 31.92 kB / 1.1 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.6197, allocations: 4 kB / 1.1 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.017e-05/0.6197, allocations: 7.844 kB / 1.1 GB, free: 6.82 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.6198, allocations: 4 kB / 1.1 GB, free: 6.816 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 6.497e-05/0.6198, allocations: 113.8 kB / 1.1 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.309e-05/0.6199, allocations: 4 kB / 1.1 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.6203, allocations: 379.5 kB / 1.1 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.6203, allocations: 7.984 kB / 1.1 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6203, allocations: 0 / 1.1 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6203, allocations: 3.938 kB / 1.1 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.6205, allocations: 277.4 kB / 1.1 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6205, allocations: 0 / 1.1 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.65e-05/0.6206, allocations: 27.98 kB / 1.101 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.6206, allocations: 0 / 1.101 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.6207, allocations: 0 / 1.101 GB, free: 5.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6207, allocations: 7.984 kB / 1.101 GB, free: 5.945 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6207, allocations: 4 kB / 1.101 GB, free: 5.941 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.621, allocations: 334.9 kB / 1.101 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.621, allocations: 96.84 kB / 1.101 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.621, allocations: 11.98 kB / 1.101 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.6212, allocations: 0 / 1.101 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.6212, allocations: 15.92 kB / 1.101 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.6212, allocations: 8 kB / 1.101 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.225e-05/0.6213, allocations: 87.2 kB / 1.101 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6213, allocations: 0 / 1.101 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006405/0.6219, allocations: 299.9 kB / 1.101 GB, free: 5.07 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.001502/0.6234, allocations: 1.15 MB / 1.102 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.6236, allocations: 135.9 kB / 1.103 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6237, allocations: 4 kB / 1.103 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.6238, allocations: 111.9 kB / 1.103 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.624, allocations: 19.92 kB / 1.103 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.6248, allocations: 494.1 kB / 1.103 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.625, allocations: 0.7127 MB / 1.104 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 9.558e-05/0.6251, allocations: 36.33 kB / 1.104 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.22e-05/0.6252, allocations: 39.42 kB / 1.104 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.6252, allocations: 0 / 1.104 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.747/3.373, allocations: 11.53 MB / 1.115 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/3.373, allocations: 203.8 kB / 1.115 GB, free: 6.617 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/5.426, allocations: 0 / 1.115 GB, free: 6.617 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