Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_10_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.00125/0.00125, 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.001325/0.001326, allocations: 193.7 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.235/1.235, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.342/2.342, allocations: 437.1 MB / 0.7104 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.89 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5042, allocations: 151.6 MB / 1.017 GB, free: 2.445 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002515/0.5067, allocations: 1.483 MB / 1.019 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001848/0.5069, allocations: 47.86 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.507, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.507, allocations: 3.938 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.5071, allocations: 7.922 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001616/0.5072, allocations: 19.97 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.5073, allocations: 39.8 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.5074, allocations: 16 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.802e-05/0.5074, allocations: 7.938 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.5075, allocations: 19.92 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.5075, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.5075, allocations: 4 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.5076, allocations: 7.984 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.48e-05/0.5076, allocations: 15.92 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.382e-05/0.5077, allocations: 34.16 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5077, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5077, allocations: 0 / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.5077, allocations: 4 kB / 1.019 GB, free: 0.7305 MB / 0.7637 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.0003929/0.5081, allocations: 343.4 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.453e-05/0.5081, allocations: 8.031 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.341e-05/0.5082, allocations: 38.73 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.5082, allocations: 4.844 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.5083, allocations: 164.4 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.5083, allocations: 384 / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.5083, allocations: 384 / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.5085, allocations: 58.17 kB / 1.02 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.5085, allocations: 3.938 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.5085, allocations: 7.984 kB / 1.02 GB, free: 12 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.5086, allocations: 4 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.5087, allocations: 27.95 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.5091, allocations: 284.8 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.5093, allocations: 30.5 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.5093, allocations: 20.91 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.358e-06/0.5094, allocations: 4 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.5094, allocations: 34.56 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5094, allocations: 0 / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003024/0.5097, allocations: 77.58 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.5097, allocations: 51.41 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.5098, allocations: 109.8 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.5098, allocations: 25.7 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.585e-05/0.5099, allocations: 84.27 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.534e-05/0.5099, allocations: 7.906 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.5099, allocations: 17.66 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.51, allocations: 318.8 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.5101, allocations: 11.98 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.359e-05/0.5102, allocations: 15.92 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.5103, allocations: 40.83 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5103, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001695/0.5105, allocations: 61.66 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.5105, allocations: 4 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.5105, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.5105, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.061e-05/0.5106, allocations: 7.984 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5106, allocations: 7.969 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.285e-05/0.5107, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.5107, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 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.124e-05/0.5107, allocations: 125.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.5108, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.5108, allocations: 7.531 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.5108, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5108, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.5108, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.5109, allocations: 165.6 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.511, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.511, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.511, allocations: 7.984 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.511, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.511, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.511, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.5112, allocations: 155.5 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.5113, allocations: 85 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/0.5113, allocations: 8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.5114, allocations: 12.17 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.746e-05/0.5114, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5114, allocations: 8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.5115, allocations: 79.28 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5115, allocations: 32 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002046/0.5117, allocations: 12 kB / 1.022 GB, free: 13.9 MB / 0.7794 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.0004321/0.5121, allocations: 0.6989 MB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001818/0.5123, allocations: 35.94 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5123, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.482e-05/0.5124, allocations: 19.92 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5127, allocations: 7.984 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.5131, allocations: 140 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001879/0.5133, allocations: 0.6806 MB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.309e-05/0.5133, allocations: 0 / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.5133, allocations: 9.266 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.5133, allocations: 0 / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.5294, allocations: 1.491 MB / 1.025 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.458/6.988, allocations: 15.94 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches