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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008052/0.008052, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002041/0.002041, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.658/2.658, allocations: 472.7 MB / 0.7453 GB, free: 480 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 71.89 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7157/0.7172, allocations: 159.9 MB / 1.225 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1465/0.8637, allocations: 135.5 MB / 1.358 GB, free: 5.367 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008592/0.8724, allocations: 7.931 MB / 1.365 GB, free: 13.41 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.8725, allocations: 4 kB / 1.365 GB, free: 13.41 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00017/0.8727, allocations: 27.83 kB / 1.365 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.8727, allocations: 15.86 kB / 1.365 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.8761, allocations: 1.465 MB / 1.367 GB, free: 11.9 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.8762, allocations: 71.66 kB / 1.367 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 3.417e-05/0.8762, allocations: 0 / 1.367 GB, free: 11.83 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.8764, allocations: 55.83 kB / 1.367 GB, free: 11.78 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.303e-05/0.8765, allocations: 35.83 kB / 1.367 GB, free: 11.74 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.335e-05/0.8765, allocations: 4 kB / 1.367 GB, free: 11.74 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003999/0.8805, allocations: 2.696 MB / 1.37 GB, free: 9.039 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/0.8805, allocations: 7.984 kB / 1.37 GB, free: 9.031 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 5.668e-05/0.8806, allocations: 47.78 kB / 1.37 GB, free: 8.984 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00212/0.8827, allocations: 1.377 MB / 1.371 GB, free: 7.605 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8828, allocations: 0 / 1.371 GB, free: 7.605 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8828, allocations: 0 / 1.371 GB, free: 7.605 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8828, allocations: 0 / 1.371 GB, free: 7.605 MB / 1.092 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.001087/0.8839, allocations: 0.4984 MB / 1.371 GB, free: 7.059 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8839, allocations: 8.031 kB / 1.371 GB, free: 7.051 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.884, allocations: 38.75 kB / 1.371 GB, free: 7.004 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003667/0.8843, allocations: 28.86 kB / 1.371 GB, free: 6.977 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.8845, allocations: 176.3 kB / 1.372 GB, free: 6.766 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/0.8846, allocations: 38.02 kB / 1.372 GB, free: 6.723 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.8846, allocations: 4 kB / 1.372 GB, free: 6.719 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.8849, allocations: 118.9 kB / 1.372 GB, free: 6.598 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.885, allocations: 0 / 1.372 GB, free: 6.598 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.885, allocations: 4 kB / 1.372 GB, free: 6.594 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.885, allocations: 0 / 1.372 GB, free: 6.594 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.8853, allocations: 115.9 kB / 1.372 GB, free: 6.48 MB / 1.092 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.000473/0.8858, allocations: 396 kB / 1.372 GB, free: 6.031 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.886, allocations: 122.6 kB / 1.372 GB, free: 5.902 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.8861, allocations: 52.83 kB / 1.372 GB, free: 5.848 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.8975, allocations: 4.226 MB / 1.377 GB, free: 1.305 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.8976, allocations: 38.5 kB / 1.377 GB, free: 1.258 MB / 1.092 GB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.8976, allocations: 0 / 1.377 GB, free: 1.258 MB / 1.092 GB Notification: Performance of matching and sorting (n=13): time 0.0005547/0.8982, allocations: 168.5 kB / 1.377 GB, free: 1.09 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.8982, allocations: 63.39 kB / 1.377 GB, free: 1.016 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.8983, allocations: 101.8 kB / 1.377 GB, free: 0.9062 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.8983, allocations: 25.7 kB / 1.377 GB, free: 0.875 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.8984, allocations: 88.14 kB / 1.377 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.8984, allocations: 43.59 kB / 1.377 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.434e-05/0.8985, allocations: 33.64 kB / 1.377 GB, free: 0.7031 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001004/0.8986, allocations: 314.8 kB / 1.377 GB, free: 396 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.678e-05/0.8986, allocations: 27.98 kB / 1.377 GB, free: 368 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.544e-05/0.8987, allocations: 27.98 kB / 1.377 GB, free: 340 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001149/0.8988, allocations: 72.78 kB / 1.378 GB, free: 264 kB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8988, allocations: 0 / 1.378 GB, free: 264 kB / 1.092 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001843/0.899, allocations: 105.7 kB / 1.378 GB, free: 152 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.899, allocations: 4 kB / 1.378 GB, free: 148 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.899, allocations: 0 / 1.378 GB, free: 148 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.8991, allocations: 4 kB / 1.378 GB, free: 144 kB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.8992, allocations: 19.98 kB / 1.378 GB, free: 124 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.8992, allocations: 0 / 1.378 GB, free: 124 kB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.069e-05/0.8993, allocations: 11.83 kB / 1.378 GB, free: 112 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.8993, allocations: 12 kB / 1.378 GB, free: 100 kB / 1.092 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.0001033/0.8994, allocations: 123.6 kB / 1.378 GB, free: 15.97 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.862e-05/0.8994, allocations: 7.953 kB / 1.378 GB, free: 15.96 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005082/0.8999, allocations: 364.1 kB / 1.378 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.9, allocations: 4 kB / 1.378 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.9, allocations: 0 / 1.378 GB, free: 15.6 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9, allocations: 3.938 kB / 1.378 GB, free: 15.59 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.9003, allocations: 289.4 kB / 1.378 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.9003, allocations: 4 kB / 1.378 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.9004, allocations: 23.92 kB / 1.378 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.9004, allocations: 0 / 1.378 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.858e-05/0.9004, allocations: 8 kB / 1.379 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.9004, allocations: 4 kB / 1.379 GB, free: 15.22 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.9005, allocations: 0 / 1.379 GB, free: 15.22 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.9008, allocations: 327 kB / 1.379 GB, free: 14.89 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.9009, allocations: 104.9 kB / 1.379 GB, free: 14.77 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.9009, allocations: 4 kB / 1.379 GB, free: 14.76 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.901, allocations: 11.94 kB / 1.379 GB, free: 14.75 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.9011, allocations: 15.92 kB / 1.379 GB, free: 14.73 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.9011, allocations: 11.98 kB / 1.379 GB, free: 14.72 MB / 1.107 GB Notification: Performance of sorting global known variables: time 3.456e-05/0.9011, allocations: 79.22 kB / 1.379 GB, free: 14.64 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9011, allocations: 0 / 1.379 GB, free: 14.64 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009153/0.9021, allocations: 299.7 kB / 1.379 GB, free: 14.35 MB / 1.107 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.001772/0.9038, allocations: 1.153 MB / 1.38 GB, free: 13.17 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002191/0.9041, allocations: 131.1 kB / 1.381 GB, free: 13.04 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.9041, allocations: 0 / 1.381 GB, free: 13.04 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001325/0.9042, allocations: 118.3 kB / 1.381 GB, free: 12.93 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.9045, allocations: 11.94 kB / 1.381 GB, free: 12.92 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008321/0.9054, allocations: 445.5 kB / 1.381 GB, free: 12.44 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.9057, allocations: 0.7088 MB / 1.382 GB, free: 11.71 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001049/0.9058, allocations: 28.39 kB / 1.382 GB, free: 11.68 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.9058, allocations: 43.36 kB / 1.382 GB, free: 11.64 MB / 1.107 GB Notification: Performance of SimCode: time 3e-07/0.9058, allocations: 4 kB / 1.382 GB, free: 11.63 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03202/0.9379, allocations: 11.62 MB / 1.393 GB, free: 104 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.04/8.978, allocations: 13.22 kB / 1.393 GB, free: 100 kB / 1.107 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.csv","/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