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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008504/0.0008504, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.0049/0.0049, allocations: 172.8 kB / 16.26 MB, free: 6.676 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.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.383/2.383, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003508, allocations: 11.84 kB / 0.9029 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2349, allocations: 159.6 MB / 1.059 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.001406/0.2363, allocations: 1.206 MB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.2365, allocations: 47.83 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.2365, allocations: 0 / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.2366, allocations: 7.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.2366, allocations: 11.91 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.2368, allocations: 19.98 kB / 1.06 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6e-05/0.2369, allocations: 35.86 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.908e-05/0.2369, allocations: 0 / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.237, allocations: 15.92 kB / 1.06 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.842e-05/0.237, allocations: 19.86 kB / 1.06 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.2371, allocations: 4 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.2371, allocations: 0 / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.149e-05/0.2371, allocations: 4 kB / 1.06 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.99e-05/0.2371, allocations: 41.62 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.69e-05/0.2372, allocations: 36.11 kB / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2372, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2372, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2372, allocations: 0 / 1.06 GB, free: 3.379 MB / 0.8106 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.0003526/0.2376, allocations: 335.6 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2376, allocations: 12.03 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.784e-05/0.2377, allocations: 34.75 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.348e-05/0.2377, allocations: 4.844 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.378e-05/0.2378, allocations: 172.3 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.275e-06/0.2378, allocations: 384 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.2378, allocations: 384 / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.238, allocations: 58.23 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.238, allocations: 3.938 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.238, allocations: 11.92 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2381, allocations: 0 / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.2382, allocations: 39.97 kB / 1.061 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.2387, allocations: 299.7 kB / 1.061 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.2388, allocations: 34.55 kB / 1.061 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.2389, allocations: 36.91 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.2389, allocations: 3.938 kB / 1.061 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2389, allocations: 30.56 kB / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2389, allocations: 0 / 1.061 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003203/0.2392, allocations: 93.64 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.2393, allocations: 51.41 kB / 1.061 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.2393, allocations: 101.9 kB / 1.061 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2394, allocations: 29.81 kB / 1.061 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.2394, allocations: 88.14 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.2394, allocations: 3.938 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.2395, allocations: 9.719 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.466e-05/0.2395, allocations: 314.8 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.92e-05/0.2396, allocations: 19.98 kB / 1.062 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.2397, allocations: 31.84 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.2399, allocations: 48.77 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2399, allocations: 0 / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001861/0.2401, allocations: 73.64 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.2401, allocations: 13.86 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.2401, allocations: 0 / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/0.2401, allocations: 0 / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.307e-05/0.2402, allocations: 12.03 kB / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2402, allocations: 0 / 1.062 GB, free: 1.219 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.2402, allocations: 7.984 kB / 1.062 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2403, allocations: 0 / 1.062 GB, free: 1.211 MB / 0.8106 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.213e-05/0.2403, allocations: 113.8 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.2404, allocations: 3.938 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.748e-05/0.2404, allocations: 11.53 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.2404, allocations: 3.984 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.2404, allocations: 4 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.2404, allocations: 0 / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.2405, allocations: 157.6 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2405, allocations: 0 / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.275e-05/0.2406, allocations: 11.98 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2406, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.2406, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2406, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2406, allocations: 0 / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.2409, allocations: 171.5 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.365e-05/0.2409, allocations: 81.02 kB / 1.063 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.2409, allocations: 4 kB / 1.063 GB, free: 0.5664 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.472e-05/0.241, allocations: 16.02 kB / 1.063 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.241, allocations: 7.984 kB / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.2411, allocations: 0 / 1.063 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.693e-05/0.2411, allocations: 91.47 kB / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.553e-06/0.2411, allocations: 0 / 1.063 GB, free: 464 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002022/0.2413, allocations: 7.938 kB / 1.063 GB, free: 456 kB / 0.8106 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.0004546/0.2418, allocations: 0.7046 MB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.242, allocations: 47.98 kB / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.242, allocations: 0 / 1.063 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.083e-05/0.2421, allocations: 23.92 kB / 1.063 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.2423, allocations: 16.14 kB / 1.064 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000338/0.2427, allocations: 144.3 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.2429, allocations: 0.677 MB / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.397e-05/0.2429, allocations: 0 / 1.064 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.2429, allocations: 15.44 kB / 1.064 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.243, allocations: 4 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.563/1.806, allocations: 1.231 MB / 1.066 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.807, allocations: 262.7 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/3.216, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 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 & /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 --timeout=50 --tolerance=1e-06 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.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) Reference file matches