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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.004304/0.004304, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001088/0.001088, allocations: 195.8 kB / 16.68 MB, free: 5.934 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.653/2.653, allocations: 469.4 MB / 0.7422 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 75.83 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002253/0.339, allocations: 1.472 MB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.3392, allocations: 47.81 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.3393, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.3393, allocations: 7.938 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.806e-05/0.3393, allocations: 7.922 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.3395, allocations: 23.59 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.837e-05/0.3396, allocations: 35.86 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.772e-05/0.3397, allocations: 7.984 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.3397, allocations: 15.94 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.3398, allocations: 15.92 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.3398, allocations: 7.938 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.3398, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.3398, allocations: 4 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.022e-05/0.3399, allocations: 19.92 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 8.258e-05/0.34, allocations: 39.77 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.137e-05/0.34, allocations: 0 / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.34, allocations: 4 kB / 1.221 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.34, allocations: 0 / 1.221 GB, free: 12.94 MB / 0.9825 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.0003858/0.3404, allocations: 343.4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3404, allocations: 8.031 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.734e-05/0.3405, allocations: 30.75 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.3405, allocations: 12.94 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.3406, allocations: 172.3 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.3406, allocations: 4.375 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.067e-06/0.3406, allocations: 4.375 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.3408, allocations: 50.23 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3408, allocations: 3.938 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.3408, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.3408, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.341, allocations: 39.91 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004227/0.3414, allocations: 272.9 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.3415, allocations: 38.53 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.3416, allocations: 20.91 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.3416, allocations: 0 / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.3417, allocations: 34.56 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3417, allocations: 3.938 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0003173/0.342, allocations: 73.64 kB / 1.222 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.342, allocations: 55.41 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.487e-05/0.3421, allocations: 109.9 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.3421, allocations: 29.7 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.3422, allocations: 80.14 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.3422, allocations: 3.953 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.009e-05/0.3422, allocations: 17.72 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.3423, allocations: 310.8 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-05/0.3424, allocations: 11.98 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.968e-05/0.3425, allocations: 23.97 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.3426, allocations: 36.7 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.3426, allocations: 0 / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001774/0.3428, allocations: 61.66 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.3428, allocations: 8 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.3429, allocations: 4.094 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.3429, allocations: 0 / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.094e-05/0.3429, allocations: 7.938 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.343, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.343, allocations: 7.984 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.343, allocations: 0 / 1.223 GB, free: 10.86 MB / 0.9825 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.179e-05/0.3431, allocations: 118.3 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3431, allocations: 3.953 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.816e-05/0.3432, allocations: 11.52 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.3432, allocations: 0 / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3432, allocations: 4 kB / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.3432, allocations: 0 / 1.223 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.3433, allocations: 157.9 kB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.3433, allocations: 0 / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.3434, allocations: 15.92 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.3434, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.3434, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3434, allocations: 0 / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3434, allocations: 4 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.3436, allocations: 163.5 kB / 1.224 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.76e-05/0.3437, allocations: 77.11 kB / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.3437, allocations: 0 / 1.224 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3438, allocations: 11.98 kB / 1.224 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.3438, allocations: 8.016 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.3439, allocations: 3.938 kB / 1.224 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.744e-05/0.3439, allocations: 87.28 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3439, allocations: 0 / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002267/0.3441, allocations: 4 kB / 1.224 GB, free: 10.11 MB / 0.9825 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.0004731/0.3446, allocations: 0.6967 MB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.3448, allocations: 35.95 kB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.3448, allocations: 0 / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.096e-05/0.3449, allocations: 19.98 kB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3452, allocations: 4.156 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.3455, allocations: 151.4 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.3458, allocations: 0.6768 MB / 1.225 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.3458, allocations: 0 / 1.225 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3458, allocations: 11.44 kB / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of SimCode: time 2.21e-07/0.3458, allocations: 0 / 1.225 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01581/0.3617, allocations: 1.534 MB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.105/7.467, allocations: 9.516 kB / 1.227 GB, free: 7.07 MB / 0.9825 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 50 --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