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.004841/0.004841, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001381/0.001381, allocations: 193.8 kB / 16.67 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.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.562/2.562, allocations: 482.6 MB / 0.755 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 63.8 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2711, allocations: 162.3 MB / 1.242 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002359/0.2735, allocations: 1.478 MB / 1.243 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001782/0.2737, allocations: 51.86 kB / 1.243 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.223e-05/0.2738, allocations: 0 / 1.243 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.199e-05/0.2738, allocations: 3.938 kB / 1.243 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.2738, allocations: 11.91 kB / 1.243 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.274, allocations: 15.98 kB / 1.243 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.966e-05/0.2741, allocations: 35.86 kB / 1.243 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.716e-05/0.2742, allocations: 7.984 kB / 1.243 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.138e-05/0.2742, allocations: 11.98 kB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.563e-05/0.2743, allocations: 19.94 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.2743, allocations: 3.938 kB / 1.243 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.28e-05/0.2743, allocations: 7.938 kB / 1.243 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.2743, allocations: 11.92 kB / 1.243 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.2744, allocations: 11.94 kB / 1.243 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.536e-05/0.2745, allocations: 32.17 kB / 1.244 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2745, allocations: 3.938 kB / 1.244 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.2745, allocations: 0 / 1.244 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.2745, allocations: 0 / 1.244 GB, free: 7.211 MB / 0.9669 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.0004109/0.2749, allocations: 351.4 kB / 1.244 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.2749, allocations: 8.031 kB / 1.244 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.275, allocations: 38.75 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.09e-05/0.275, allocations: 4.891 kB / 1.244 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.2751, allocations: 164.4 kB / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-06/0.2751, allocations: 384 / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.2751, allocations: 384 / 1.244 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.2753, allocations: 50.23 kB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2753, allocations: 3.938 kB / 1.244 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.2753, allocations: 4 kB / 1.244 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.2753, allocations: 7.938 kB / 1.244 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001435/0.2755, allocations: 31.95 kB / 1.244 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004229/0.2759, allocations: 280.8 kB / 1.244 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.649e-05/0.276, allocations: 30.56 kB / 1.244 GB, free: 6.094 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.869e-05/0.2761, allocations: 20.91 kB / 1.244 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.2761, allocations: 4 kB / 1.244 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.2762, allocations: 38.48 kB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.2762, allocations: 0 / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003007/0.2765, allocations: 73.66 kB / 1.245 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.2765, allocations: 51.41 kB / 1.245 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.246e-05/0.2766, allocations: 109.8 kB / 1.245 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.2766, allocations: 25.7 kB / 1.245 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.2767, allocations: 84.14 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.2767, allocations: 3.953 kB / 1.245 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.2767, allocations: 17.7 kB / 1.245 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.2769, allocations: 315 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.2769, allocations: 15.98 kB / 1.245 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.74e-05/0.277, allocations: 15.92 kB / 1.245 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2772, allocations: 40.75 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2772, allocations: 4 kB / 1.245 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001738/0.2774, allocations: 61.73 kB / 1.245 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.2774, allocations: 4 kB / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.2774, allocations: 0 / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2774, allocations: 3.938 kB / 1.245 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.588e-05/0.2775, allocations: 11.92 kB / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.2775, allocations: 0 / 1.245 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.317e-05/0.2775, allocations: 8.234 kB / 1.245 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.2775, allocations: 4 kB / 1.245 GB, free: 5.125 MB / 0.9669 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.163e-05/0.2776, allocations: 117.8 kB / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.2777, allocations: 0 / 1.245 GB, free: 5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.735e-05/0.2777, allocations: 15.47 kB / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2777, allocations: 0 / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2777, allocations: 0 / 1.245 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.2777, allocations: 3.984 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.2778, allocations: 161.6 kB / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.2779, allocations: 0 / 1.246 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.2779, allocations: 7.984 kB / 1.246 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.2779, allocations: 8 kB / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.949e-06/0.2779, allocations: 0 / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.2779, allocations: 0 / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2779, allocations: 0 / 1.246 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.2782, allocations: 159.4 kB / 1.246 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.2782, allocations: 81.11 kB / 1.246 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.348e-06/0.2782, allocations: 4.031 kB / 1.246 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.013e-05/0.2783, allocations: 7.984 kB / 1.246 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.903e-05/0.2784, allocations: 4 kB / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.2784, allocations: 0 / 1.246 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.588e-05/0.2784, allocations: 87.27 kB / 1.246 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2784, allocations: 3.938 kB / 1.246 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002047/0.2786, allocations: 7.938 kB / 1.246 GB, free: 4.375 MB / 0.9669 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.0004855/0.2791, allocations: 0.6993 MB / 1.247 GB, free: 3.652 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001789/0.2793, allocations: 27.97 kB / 1.247 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.2793, allocations: 4 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.2794, allocations: 20.02 kB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.2796, allocations: 11.98 kB / 1.247 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.28, allocations: 139.6 kB / 1.247 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.2802, allocations: 0.6768 MB / 1.248 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.2803, allocations: 0 / 1.248 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.818e-05/0.2803, allocations: 15.5 kB / 1.248 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.2803, allocations: 3.938 kB / 1.248 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.105/1.385, allocations: 1.517 MB / 1.249 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.379/9.764, allocations: 8.438 kB / 1.249 GB, free: 1.355 MB / 0.9669 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=400 --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