Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_latest_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.00588/0.00588, allocations: 97.41 kB / 15.73 MB, free: 6.039 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.001281/0.001282, allocations: 195.8 kB / 16.67 MB, free: 5.961 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 482.4 MB / 0.7548 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 71.83 kB / 1.083 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2966, allocations: 162.2 MB / 1.241 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002626/0.2993, allocations: 1.478 MB / 1.243 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.2995, allocations: 43.81 kB / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.717e-05/0.2995, allocations: 0 / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.2995, allocations: 0 / 1.243 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.909e-05/0.2996, allocations: 19.86 kB / 1.243 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001632/0.2998, allocations: 15.97 kB / 1.243 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.2999, allocations: 35.86 kB / 1.243 GB, free: 8.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.147e-05/0.2999, allocations: 11.98 kB / 1.243 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.62e-05/0.3, allocations: 15.94 kB / 1.243 GB, free: 8.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.822e-05/0.3, allocations: 11.92 kB / 1.243 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3001, allocations: 4 kB / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.138e-05/0.3001, allocations: 0 / 1.243 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.525e-05/0.3001, allocations: 4 kB / 1.243 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.3001, allocations: 27.92 kB / 1.243 GB, free: 8.508 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.358e-05/0.3002, allocations: 35.83 kB / 1.243 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3002, allocations: 0 / 1.243 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.3002, allocations: 0 / 1.243 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.3003, allocations: 0 / 1.243 GB, free: 8.473 MB / 0.9981 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.0004399/0.3007, allocations: 343.4 kB / 1.243 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.3007, allocations: 15.97 kB / 1.243 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.3008, allocations: 30.75 kB / 1.243 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.066e-05/0.3008, allocations: 0.9375 kB / 1.243 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3009, allocations: 176.3 kB / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.301, allocations: 384 / 1.244 GB, free: 7.82 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.301, allocations: 4.375 kB / 1.244 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3011, allocations: 54.23 kB / 1.244 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.3012, allocations: 3.938 kB / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3012, allocations: 0 / 1.244 GB, free: 7.754 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3012, allocations: 3.938 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3013, allocations: 27.97 kB / 1.244 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004634/0.3018, allocations: 284.8 kB / 1.244 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3019, allocations: 38.55 kB / 1.244 GB, free: 7.348 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.438e-05/0.302, allocations: 16.91 kB / 1.244 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3021, allocations: 4 kB / 1.244 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.3021, allocations: 30.56 kB / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.3021, allocations: 0 / 1.244 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003287/0.3024, allocations: 77.58 kB / 1.244 GB, free: 7.203 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.3025, allocations: 55.41 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.661e-05/0.3026, allocations: 113.9 kB / 1.244 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3026, allocations: 25.7 kB / 1.244 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.3027, allocations: 84.14 kB / 1.244 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.3027, allocations: 3.953 kB / 1.244 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.3027, allocations: 9.719 kB / 1.244 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.3029, allocations: 314.8 kB / 1.245 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.905e-05/0.303, allocations: 11.98 kB / 1.245 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.913e-05/0.303, allocations: 27.97 kB / 1.245 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.3032, allocations: 33.02 kB / 1.245 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3032, allocations: 3.938 kB / 1.245 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000291/0.3035, allocations: 65.66 kB / 1.245 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.3035, allocations: 4 kB / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.3035, allocations: 96 / 1.245 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.447e-06/0.3036, allocations: 4 kB / 1.245 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.091e-05/0.3036, allocations: 8 kB / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.3036, allocations: 0 / 1.245 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.773e-05/0.3037, allocations: 7.984 kB / 1.245 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.3037, allocations: 0 / 1.245 GB, free: 6.391 MB / 0.9981 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 7.881e-05/0.3038, allocations: 114.3 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.601e-05/0.3038, allocations: 4 kB / 1.245 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.011e-05/0.3038, allocations: 11.5 kB / 1.245 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.3039, allocations: 4 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3039, allocations: 0 / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.3039, allocations: 0 / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000167/0.304, allocations: 157.6 kB / 1.245 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.304, allocations: 4 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.374e-05/0.3041, allocations: 7.984 kB / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3041, allocations: 0 / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.3041, allocations: 0 / 1.245 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3041, allocations: 3.938 kB / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3041, allocations: 0 / 1.245 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3044, allocations: 171.4 kB / 1.245 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/0.3044, allocations: 81.05 kB / 1.245 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.3044, allocations: 0 / 1.245 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3046, allocations: 11.98 kB / 1.245 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.3046, allocations: 3.984 kB / 1.245 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.3046, allocations: 7.969 kB / 1.245 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.3047, allocations: 83.28 kB / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3047, allocations: 0 / 1.246 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002201/0.3049, allocations: 8 kB / 1.246 GB, free: 5.633 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: 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.0005446/0.3054, allocations: 0.6929 MB / 1.246 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.3056, allocations: 35.95 kB / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3057, allocations: 0 / 1.246 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.3057, allocations: 15.98 kB / 1.246 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.306, allocations: 8.125 kB / 1.246 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.3064, allocations: 155.6 kB / 1.246 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.3067, allocations: 0.6768 MB / 1.247 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.477e-05/0.3068, allocations: 4 kB / 1.247 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.136e-05/0.3068, allocations: 11.44 kB / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.3068, allocations: 0 / 1.247 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/0.3278, allocations: 1.52 MB / 1.249 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.626/7.954, allocations: 14.69 kB / 1.249 GB, free: 2.602 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches