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.005105/0.005105, allocations: 98.77 kB / 15.73 MB, free: 6.047 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.001265/0.001265, allocations: 194 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.201/2.201, allocations: 390.2 MB / 0.6648 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.66 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.227, allocations: 140.4 MB / 1.087 GB, free: 2.035 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002452/0.2295, allocations: 1.482 MB / 1.089 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001985/0.2298, allocations: 43.88 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.849e-05/0.2298, allocations: 0 / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.629e-05/0.2298, allocations: 3.938 kB / 1.089 GB, free: 0.4922 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.412e-05/0.2299, allocations: 11.91 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001715/0.2301, allocations: 19.98 kB / 1.089 GB, free: 472 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.441e-05/0.2302, allocations: 39.84 kB / 1.089 GB, free: 432 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.606e-05/0.2302, allocations: 12 kB / 1.089 GB, free: 420 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 4.654e-05/0.2303, allocations: 11.92 kB / 1.089 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.824e-05/0.2304, allocations: 23.86 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.2304, allocations: 0 / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.098e-05/0.2304, allocations: 4 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.2304, allocations: 4 kB / 1.089 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.2304, allocations: 15.94 kB / 1.089 GB, free: 360 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.203e-05/0.2305, allocations: 36.09 kB / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2305, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2305, allocations: 0 / 1.089 GB, free: 324 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.2306, allocations: 4 kB / 1.089 GB, free: 320 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.0004016/0.231, allocations: 347.4 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.231, allocations: 8.031 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.231, allocations: 34.75 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.361e-05/0.2311, allocations: 0.9375 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.97e-05/0.2312, allocations: 168.3 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.2312, allocations: 4.359 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.2312, allocations: 384 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.2314, allocations: 54.23 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.2314, allocations: 7.875 kB / 1.09 GB, free: 15.6 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.2314, allocations: 4 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.2314, allocations: 0 / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.2316, allocations: 31.95 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004287/0.232, allocations: 280.9 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.2321, allocations: 26.56 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.153e-05/0.2322, allocations: 28.89 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.2322, allocations: 3.938 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.2322, allocations: 30.56 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.2322, allocations: 0 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003049/0.2325, allocations: 73.66 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.2326, allocations: 55.34 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.2327, allocations: 105.8 kB / 1.09 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.2327, allocations: 25.7 kB / 1.09 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.2327, allocations: 88.09 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.2327, allocations: 7.984 kB / 1.09 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.2328, allocations: 17.78 kB / 1.09 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.2329, allocations: 310.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.791e-05/0.2329, allocations: 15.98 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.233, allocations: 15.92 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.2332, allocations: 48.81 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2332, allocations: 256 / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001749/0.2333, allocations: 61.62 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.2334, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.2334, allocations: 4 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.2334, allocations: 0 / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.2335, allocations: 7.984 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.2335, allocations: 0 / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.2335, allocations: 12.02 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2335, allocations: 4 kB / 1.091 GB, free: 14.23 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 5.914e-05/0.2336, allocations: 113.7 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.2336, allocations: 0 / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.2337, allocations: 11.53 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2337, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2337, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2337, allocations: 0 / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.2338, allocations: 161.6 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2338, allocations: 4 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.152e-05/0.2339, allocations: 11.98 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.2339, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.2339, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2339, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2339, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002077/0.2341, allocations: 159.5 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.255e-05/0.2342, allocations: 85.06 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.2342, allocations: 0 / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.2343, allocations: 7.984 kB / 1.091 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.107e-05/0.2343, allocations: 11.94 kB / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.2343, allocations: 0 / 1.091 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.535e-05/0.2344, allocations: 87.2 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2344, allocations: 0 / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002126/0.2346, allocations: 7.938 kB / 1.092 GB, free: 13.48 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.000449/0.235, allocations: 0.6968 MB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001824/0.2352, allocations: 36 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2352, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.2353, allocations: 19.91 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.2356, allocations: 17.64 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.236, allocations: 135.8 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.2362, allocations: 0.6768 MB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.2362, allocations: 8.125 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.2362, allocations: 7.438 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.2362, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.2516, allocations: 1.506 MB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.718/6.97, allocations: 25.42 kB / 1.095 GB, free: 10.46 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