Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",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.00758/0.007581, allocations: 106.2 kB / 15.74 MB, free: 6.441 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.001669/0.001669, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.281 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.189/2.189, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001265, allocations: 63.34 kB / 0.9504 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2292, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002412/0.2317, allocations: 1.47 MB / 1.089 GB, free: 0.5 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.2319, allocations: 43.88 kB / 1.089 GB, free: 468 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.2319, allocations: 11.94 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.232, allocations: 3.984 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.232, allocations: 7.922 kB / 1.089 GB, free: 444 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001842/0.2322, allocations: 16.42 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.256e-05/0.2323, allocations: 35.86 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.813e-05/0.2324, allocations: 11.98 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.725e-05/0.2325, allocations: 15.92 kB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.133e-05/0.2325, allocations: 15.92 kB / 1.089 GB, free: 348 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2325, allocations: 4 kB / 1.089 GB, free: 344 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.072e-05/0.2326, allocations: 8 kB / 1.089 GB, free: 336 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.579e-05/0.2326, allocations: 4 kB / 1.089 GB, free: 332 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.2326, allocations: 15.92 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.634e-05/0.2327, allocations: 38.7 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2327, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.123e-06/0.2327, allocations: 0 / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2327, allocations: 7.938 kB / 1.089 GB, free: 272 kB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004136/0.2331, allocations: 336.3 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2332, allocations: 8.031 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.919e-05/0.2332, allocations: 34.75 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.686e-05/0.2333, allocations: 4.938 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.2334, allocations: 172.2 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.933e-06/0.2334, allocations: 4.312 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2334, allocations: 4.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.2336, allocations: 50.23 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2336, allocations: 3.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2336, allocations: 4 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2336, allocations: 3.984 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.2338, allocations: 31.97 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.2342, allocations: 276.9 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2343, allocations: 34.48 kB / 1.09 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.2344, allocations: 24.91 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.2344, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2345, allocations: 30.56 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.2345, allocations: 7.938 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003159/0.2348, allocations: 73.58 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.2348, allocations: 59.53 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.863e-05/0.2349, allocations: 97.86 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.2349, allocations: 25.7 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.235, allocations: 92.12 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.292e-05/0.235, allocations: 3.906 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/0.235, allocations: 9.719 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.2351, allocations: 318.8 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.2352, allocations: 15.98 kB / 1.091 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.2353, allocations: 15.97 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.2354, allocations: 36.77 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2354, allocations: 0 / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001796/0.2356, allocations: 65.92 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2356, allocations: 14.02 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.2356, allocations: 0 / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.2357, allocations: 4 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.301e-05/0.2357, allocations: 4 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2357, allocations: 0 / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.2358, allocations: 7.984 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.2358, allocations: 0 / 1.091 GB, free: 14.2 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 (1): * Single equations (assignments): 1 * 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.593e-05/0.2359, allocations: 117.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.2359, allocations: 4.031 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.968e-05/0.2359, allocations: 3.531 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.2359, allocations: 7.922 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.2359, allocations: 0 / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.236, allocations: 4 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.2361, allocations: 157.6 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2361, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.242e-05/0.2362, allocations: 7.984 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2362, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2362, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2362, allocations: 4 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2362, allocations: 0 / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.2364, allocations: 167.3 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.2365, allocations: 77.11 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.2365, allocations: 3.938 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.2366, allocations: 20.02 kB / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.2366, allocations: 0 / 1.091 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.743e-06/0.2366, allocations: 3.984 kB / 1.091 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.027e-05/0.2367, allocations: 83.28 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2367, allocations: 0 / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002125/0.2369, allocations: 8 kB / 1.092 GB, free: 13.44 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0004625/0.2374, allocations: 0.689 MB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2376, allocations: 39.89 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2376, allocations: 0 / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.603e-05/0.2377, allocations: 16.08 kB / 1.092 GB, free: 12.67 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002801/0.2379, allocations: 12.06 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003791/0.2383, allocations: 143.7 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.2385, allocations: 0.6768 MB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.2386, allocations: 4 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.2386, allocations: 7.438 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2386, allocations: 0 / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.2543, allocations: 1.529 MB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.098/7.353, allocations: 11.88 kB / 1.095 GB, free: 10.42 MB / 0.8575 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches