Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,fileNamePrefix="Buildings_10_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.00122/0.00122, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001279/0.001279, allocations: 198.4 kB / 16.14 MB, free: 6.801 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.198/1.198, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.242/2.242, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4718, allocations: 151.6 MB / 1.017 GB, free: 2.91 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002249/0.4741, allocations: 1.549 MB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001602/0.4743, allocations: 43.89 kB / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.4743, allocations: 0 / 1.018 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.4744, allocations: 3.938 kB / 1.018 GB, free: 1.309 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.878e-05/0.4744, allocations: 19.84 kB / 1.018 GB, free: 1.289 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001492/0.4746, allocations: 12 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.737e-05/0.4746, allocations: 39.84 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.051e-05/0.4747, allocations: 11.97 kB / 1.018 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.605e-05/0.4748, allocations: 11.94 kB / 1.018 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.347e-05/0.4748, allocations: 19.92 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.4748, allocations: 0 / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.336e-05/0.4748, allocations: 4 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.4749, allocations: 4 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.4749, allocations: 11.92 kB / 1.018 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.554e-05/0.475, allocations: 34.28 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.475, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.51e-07/0.475, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.475, allocations: 0 / 1.018 GB, free: 1.145 MB / 0.7637 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.0003591/0.4754, allocations: 355.3 kB / 1.019 GB, free: 0.7461 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.4754, allocations: 8.031 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.67e-05/0.4754, allocations: 30.75 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.4755, allocations: 8.875 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.625e-05/0.4755, allocations: 164.4 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.324e-06/0.4756, allocations: 384 / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.846e-06/0.4756, allocations: 4.375 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4757, allocations: 54.23 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4758, allocations: 3.938 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.4758, allocations: 4 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.4758, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.4759, allocations: 31.97 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/0.4763, allocations: 280.7 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.4764, allocations: 34.55 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.64e-05/0.4765, allocations: 20.91 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.929e-06/0.4765, allocations: 0 / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.4766, allocations: 30.56 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.4766, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0002831/0.4768, allocations: 81.58 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.4769, allocations: 51.41 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.578e-05/0.477, allocations: 105.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.477, allocations: 25.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.361e-05/0.477, allocations: 88.14 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.199e-05/0.477, allocations: 3.906 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.4771, allocations: 9.719 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.4772, allocations: 323 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.4772, allocations: 19.91 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.073e-05/0.4773, allocations: 12.23 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4774, allocations: 40.7 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4775, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001602/0.4776, allocations: 69.66 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.4776, allocations: 4 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.327e-06/0.4776, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.4777, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.909e-05/0.4777, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4777, allocations: 3.984 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.88e-05/0.4778, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.4778, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 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 5.742e-05/0.4779, allocations: 118.3 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.4779, allocations: 4 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.56e-05/0.4779, allocations: 7.516 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.4779, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4779, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.4779, allocations: 0 / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.4781, allocations: 165.5 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4781, allocations: 3.984 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.771e-05/0.4781, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.4781, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.4782, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.4782, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4782, allocations: 3.984 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.4784, allocations: 171.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.4784, allocations: 81.11 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.4784, allocations: 4.031 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.97e-05/0.4785, allocations: 11.98 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.4785, allocations: 3.984 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.4786, allocations: 0 / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.835e-05/0.4786, allocations: 79.28 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4786, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002011/0.4788, allocations: 8 kB / 1.021 GB, free: 14.31 MB / 0.7794 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.0004364/0.4793, allocations: 0.6928 MB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.4794, allocations: 35.95 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4794, allocations: 8.031 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.309e-05/0.4795, allocations: 15.98 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.4798, allocations: 12.69 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003368/0.4801, allocations: 137.4 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.4803, allocations: 0.677 MB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.358e-05/0.4804, allocations: 8 kB / 1.022 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.4804, allocations: 11.42 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of SimCode: time 1.9e-07/0.4804, allocations: 0 / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4168/0.8972, allocations: 1.301 MB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/0.8975, allocations: 251.8 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.452, allocations: 6.672 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.fmu > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches