Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_11_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.001392/0.001392, allocations: 108 kB / 15.6 MB, free: 132 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.001125/0.001125, allocations: 194.6 kB / 16.53 MB, free: 6.391 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.261/1.261, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.544/2.544, allocations: 469.8 MB / 0.7424 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 65.08 kB / 0.9086 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2393, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1341/0.3733, allocations: 135.5 MB / 1.196 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008296/0.3817, allocations: 7.923 MB / 1.204 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.3817, allocations: 0 / 1.204 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.3819, allocations: 19.84 kB / 1.204 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.3819, allocations: 19.84 kB / 1.204 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.3846, allocations: 1.47 MB / 1.206 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.925e-05/0.3847, allocations: 75.64 kB / 1.206 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.3847, allocations: 4 kB / 1.206 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3848, allocations: 43.8 kB / 1.206 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.048e-05/0.3849, allocations: 35.83 kB / 1.206 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.3849, allocations: 4 kB / 1.206 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.3886, allocations: 2.641 MB / 1.208 GB, free: 9.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.198e-05/0.3886, allocations: 11.98 kB / 1.208 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.731e-05/0.3887, allocations: 35.84 kB / 1.208 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.3903, allocations: 1.38 MB / 1.21 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3903, allocations: 0 / 1.21 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3903, allocations: 3.938 kB / 1.21 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.3903, allocations: 0 / 1.21 GB, free: 8.422 MB / 0.9669 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.0008621/0.3912, allocations: 495.2 kB / 1.21 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3912, allocations: 12.03 kB / 1.21 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.859e-05/0.3913, allocations: 42.67 kB / 1.21 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.3916, allocations: 24.83 kB / 1.21 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.3917, allocations: 168.3 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.866e-05/0.3918, allocations: 38 kB / 1.211 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3918, allocations: 8 kB / 1.211 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003281/0.3921, allocations: 115.3 kB / 1.211 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3922, allocations: 0 / 1.211 GB, free: 7.434 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.3922, allocations: 4 kB / 1.211 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3922, allocations: 11.92 kB / 1.211 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002694/0.3925, allocations: 119.8 kB / 1.211 GB, free: 7.301 MB / 0.9669 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.0004453/0.3929, allocations: 376.1 kB / 1.211 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.3932, allocations: 130.6 kB / 1.211 GB, free: 6.734 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.847e-05/0.3932, allocations: 52.84 kB / 1.211 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.4039, allocations: 4.207 MB / 1.215 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.4039, allocations: 34.56 kB / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.113e-06/0.4039, allocations: 0 / 1.215 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0004229/0.4043, allocations: 162.5 kB / 1.216 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.4044, allocations: 51.41 kB / 1.216 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.839e-05/0.4044, allocations: 105.8 kB / 1.216 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.4045, allocations: 25.7 kB / 1.216 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.4045, allocations: 96.22 kB / 1.216 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4046, allocations: 43.3 kB / 1.216 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.4046, allocations: 29.7 kB / 1.216 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4047, allocations: 310.8 kB / 1.216 GB, free: 1.254 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.487e-05/0.4048, allocations: 31.92 kB / 1.216 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/0.4048, allocations: 25.36 kB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.4049, allocations: 78.72 kB / 1.216 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.4049, allocations: 4 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001689/0.4051, allocations: 105.6 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.4051, allocations: 8 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4051, allocations: 0 / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4052, allocations: 4 kB / 1.216 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4053, allocations: 23.92 kB / 1.217 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.4053, allocations: 0 / 1.217 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.064e-05/0.4053, allocations: 3.938 kB / 1.217 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.4053, allocations: 8 kB / 1.217 GB, free: 0.9609 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 7.892e-05/0.4054, allocations: 118.7 kB / 1.217 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.4055, allocations: 11.89 kB / 1.217 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004153/0.4059, allocations: 371.6 kB / 1.217 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4059, allocations: 3.984 kB / 1.217 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.4059, allocations: 0 / 1.217 GB, free: 464 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4059, allocations: 3.938 kB / 1.217 GB, free: 460 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.4062, allocations: 285.3 kB / 1.217 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4062, allocations: 4 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.932e-05/0.4063, allocations: 19.98 kB / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4063, allocations: 0 / 1.217 GB, free: 100 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4063, allocations: 11.98 kB / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.4063, allocations: 0 / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.4063, allocations: 0 / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003325/0.4067, allocations: 327 kB / 1.218 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.4068, allocations: 108.8 kB / 1.218 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/0.4068, allocations: 8 kB / 1.218 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.4069, allocations: 8 kB / 1.218 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.4069, allocations: 11.92 kB / 1.218 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.407, allocations: 4 kB / 1.218 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.407, allocations: 83.45 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.674e-06/0.407, allocations: 0 / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006345/0.4076, allocations: 303.9 kB / 1.218 GB, free: 15.21 MB / 0.9825 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.001534/0.4092, allocations: 1.161 MB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.4094, allocations: 139.8 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4094, allocations: 0 / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4096, allocations: 107.9 kB / 1.219 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.4098, allocations: 25.48 kB / 1.22 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007687/0.4106, allocations: 416.2 kB / 1.22 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.4109, allocations: 0.7166 MB / 1.221 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.008e-05/0.411, allocations: 32.28 kB / 1.221 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.569e-05/0.4111, allocations: 43.36 kB / 1.221 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.4111, allocations: 0 / 1.221 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.898/6.309, allocations: 11.6 MB / 1.232 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/18.92, allocations: 23.11 kB / 1.232 GB, free: 0.9453 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamSaturationConsistencyCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.SteamSaturationConsistencyCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches