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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 103.6 kB / 18.95 MB, free: 2.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 216.8 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.24/3.24, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 70.36 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.367, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.003027/0.37, allocations: 1.485 MB / 1.365 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00023/0.3702, allocations: 47.88 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.3703, allocations: 4 kB / 1.365 GB, free: 12.56 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.3703, allocations: 3.938 kB / 1.365 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.587e-05/0.3703, allocations: 15.91 kB / 1.365 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.3705, allocations: 15.97 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.935e-05/0.3706, allocations: 35.86 kB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.3707, allocations: 15.88 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.3708, allocations: 11.94 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.001e-05/0.3709, allocations: 15.92 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.3709, allocations: 4 kB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.289e-05/0.3709, allocations: 0 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.3709, allocations: 11.98 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.109e-05/0.3709, allocations: 15.92 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.371, allocations: 27.91 kB / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.371, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.563e-06/0.371, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.371, allocations: 0 / 1.365 GB, free: 12.39 MB / 1.061 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.0004589/0.3715, allocations: 270.3 kB / 1.365 GB, free: 12.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3715, allocations: 8.031 kB / 1.365 GB, free: 12.08 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.488e-05/0.3716, allocations: 34.75 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.3716, allocations: 4.938 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.3717, allocations: 114.5 kB / 1.365 GB, free: 11.9 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3718, allocations: 4.375 kB / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-06/0.3718, allocations: 384 / 1.365 GB, free: 11.89 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.372, allocations: 79.88 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.372, allocations: 7.875 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.372, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.372, allocations: 0 / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.3721, allocations: 31.97 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004851/0.3726, allocations: 244 kB / 1.366 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3728, allocations: 38.48 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.946e-05/0.3728, allocations: 16.91 kB / 1.366 GB, free: 11.42 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.3728, allocations: 4 kB / 1.366 GB, free: 11.41 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3729, allocations: 30.56 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3729, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003288/0.3732, allocations: 81.64 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.3732, allocations: 51.41 kB / 1.366 GB, free: 11.23 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.84e-05/0.3733, allocations: 101.9 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.3734, allocations: 25.7 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.3734, allocations: 88.12 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.3734, allocations: 3.953 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/0.3735, allocations: 13.72 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3736, allocations: 318.8 kB / 1.367 GB, free: 10.65 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/0.3737, allocations: 20.05 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-05/0.3737, allocations: 19.97 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3739, allocations: 36.77 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3739, allocations: 0 / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001711/0.374, allocations: 57.66 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.3741, allocations: 8.094 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.3741, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.3741, allocations: 4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.3742, allocations: 4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3742, allocations: 0 / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.965e-05/0.3742, allocations: 19.86 kB / 1.367 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3742, allocations: 0 / 1.367 GB, free: 10.48 MB / 1.061 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 8.288e-05/0.3743, allocations: 113.8 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.3743, allocations: 4.203 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.3743, allocations: 11.45 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.3743, allocations: 0 / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.3743, allocations: 4 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3743, allocations: 7.984 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001512/0.3745, allocations: 128.7 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3745, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.754e-05/0.3745, allocations: 4 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3745, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.3746, allocations: 0 / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3746, allocations: 4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3746, allocations: 7.922 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.3748, allocations: 159.5 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.3748, allocations: 4 kB / 1.367 GB, free: 9.961 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.3748, allocations: 3.984 kB / 1.367 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.3749, allocations: 7.984 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.778e-05/0.375, allocations: 7.938 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.375, allocations: 0 / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.533e-05/0.375, allocations: 83.28 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.375, allocations: 4.031 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.00022/0.3752, allocations: 4 kB / 1.367 GB, free: 9.852 MB / 1.061 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.0006219/0.3759, allocations: 0.6929 MB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002041/0.3761, allocations: 31.95 kB / 1.368 GB, free: 9.102 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3761, allocations: 7.875 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.475e-05/0.3761, allocations: 24.08 kB / 1.368 GB, free: 9.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.3765, allocations: 4 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.3769, allocations: 143.9 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.259e-05/0.377, allocations: 55.36 kB / 1.368 GB, free: 8.812 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.091e-05/0.377, allocations: 4 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.377, allocations: 15.42 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.377, allocations: 0 / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0272/0.4042, allocations: 2.071 MB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.25, allocations: 8.781 kB / 1.37 GB, free: 6.895 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.030504901893437]