Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.SteamProperties.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SteamProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_SteamProperties",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.001413/0.001413, allocations: 108 kB / 15.61 MB, free: 152 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.00163/0.00163, allocations: 197 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 63.89 kB / 0.8693 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5927/0.5942, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1367/0.731, allocations: 136.1 MB / 1.15 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.7578, allocations: 22.68 MB / 1.172 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.758, allocations: 0 / 1.172 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002751/0.7583, allocations: 43.69 kB / 1.172 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.7586, allocations: 103.3 kB / 1.173 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.01666/0.7753, allocations: 6.938 MB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003434/0.7756, allocations: 247.9 kB / 1.18 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.7757, allocations: 17.55 kB / 1.18 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.776, allocations: 143.4 kB / 1.18 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.7762, allocations: 95.59 kB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.7762, allocations: 8 kB / 1.18 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0195/0.7957, allocations: 11.33 MB / 1.191 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.7958, allocations: 39.83 kB / 1.191 GB, free: 128 kB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.796, allocations: 83.66 kB / 1.191 GB, free: 44 kB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.8089, allocations: 6.491 MB / 1.197 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.809, allocations: 0 / 1.197 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.382e-06/0.809, allocations: 0 / 1.197 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.809, allocations: 0 / 1.197 GB, free: 9.539 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00317/0.8122, allocations: 1.193 MB / 1.199 GB, free: 8.297 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.8122, allocations: 8.031 kB / 1.199 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.905e-05/0.8123, allocations: 54.73 kB / 1.199 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.8134, allocations: 88.59 kB / 1.199 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.8136, allocations: 224.1 kB / 1.199 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.8137, allocations: 19.88 kB / 1.199 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.8137, allocations: 20 kB / 1.199 GB, free: 7.844 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.8149, allocations: 444.5 kB / 1.199 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.8149, allocations: 0 / 1.199 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.8149, allocations: 12 kB / 1.199 GB, free: 7.379 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.8149, allocations: 4 kB / 1.199 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.8161, allocations: 0.6008 MB / 1.2 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009785/0.8171, allocations: 0.8822 MB / 1.201 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/0.818, allocations: 263.6 kB / 1.201 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.8181, allocations: 68.83 kB / 1.201 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08937/0.9075, allocations: 35.04 MB / 1.235 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.9076, allocations: 38.56 kB / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=25): time 3.887e-06/0.9076, allocations: 0 / 1.235 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of matching and sorting (n=25): time 0.00183/0.9094, allocations: 417.3 kB / 1.236 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.9095, allocations: 63.34 kB / 1.236 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.9096, allocations: 143.2 kB / 1.236 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.9096, allocations: 29.7 kB / 1.236 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.9097, allocations: 108.4 kB / 1.236 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.898e-05/0.9098, allocations: 86.73 kB / 1.236 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.9099, allocations: 81.58 kB / 1.236 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.91, allocations: 326.8 kB / 1.237 GB, free: 14 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.9102, allocations: 79.95 kB / 1.237 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.9105, allocations: 133.5 kB / 1.237 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.911, allocations: 216.1 kB / 1.237 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.911, allocations: 4 kB / 1.237 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007997/0.9118, allocations: 295.7 kB / 1.237 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.9118, allocations: 4 kB / 1.237 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.9118, allocations: 4 kB / 1.237 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.9119, allocations: 0 / 1.237 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.9122, allocations: 83.88 kB / 1.237 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.9122, allocations: 4 kB / 1.237 GB, free: 13.15 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.9123, allocations: 27.62 kB / 1.237 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.9124, allocations: 28.12 kB / 1.237 GB, free: 13.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001368/0.9125, allocations: 129.8 kB / 1.238 GB, free: 12.96 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.9127, allocations: 15.81 kB / 1.238 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.9153, allocations: 2.343 MB / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.9153, allocations: 7.984 kB / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.9153, allocations: 0 / 1.24 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.9153, allocations: 7.922 kB / 1.24 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003816/0.9192, allocations: 3.427 MB / 1.243 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.9192, allocations: 4 kB / 1.243 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.9195, allocations: 51.89 kB / 1.243 GB, free: 6.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.45e-05/0.9195, allocations: 11.94 kB / 1.243 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.9196, allocations: 4 kB / 1.243 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.9196, allocations: 7.938 kB / 1.243 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.9196, allocations: 3.984 kB / 1.243 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008898/0.9205, allocations: 0.5496 MB / 1.244 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.9207, allocations: 144.5 kB / 1.244 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.9207, allocations: 15.88 kB / 1.244 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.9209, allocations: 12 kB / 1.244 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.443e-05/0.921, allocations: 15.97 kB / 1.244 GB, free: 6.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.921, allocations: 12 kB / 1.244 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.052e-05/0.9211, allocations: 108.7 kB / 1.244 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9211, allocations: 0 / 1.244 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005295/0.9264, allocations: 1.691 MB / 1.246 GB, free: 4.383 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.009662/0.9361, allocations: 2.924 MB / 1.249 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007833/0.9369, allocations: 337.2 kB / 1.249 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9369, allocations: 0 / 1.249 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.9373, allocations: 240.5 kB / 1.249 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005841/0.9378, allocations: 61.3 kB / 1.249 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4621/1.4, allocations: 3.046 MB / 1.252 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/1.4, allocations: 0.7661 MB / 1.253 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009339/1.401, allocations: 410.5 kB / 1.253 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/1.402, allocations: 99.98 kB / 1.253 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of SimCode: time 1.974e-06/1.402, allocations: 0 / 1.253 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/1.513, allocations: 63.3 MB / 1.315 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/13.04, allocations: 6.812 kB / 1.315 GB, free: 183.1 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.SteamProperties.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Examples.SteamProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Examples_SteamProperties.fmu > Buildings_10_Buildings.Media.Examples.SteamProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.SteamProperties_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_SteamProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.SteamProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches