Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheSkyBlaBodTem.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheSkyBlaBodTem.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0106/0.0106, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002363/0.002363, allocations: 187.4 kB / 16.67 MB, free: 5.969 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.518/2.518, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 63.62 kB / 0.9508 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3626, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.0028/0.3655, allocations: 1.471 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0002431/0.3657, allocations: 51.91 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.3658, allocations: 0 / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.076e-05/0.3658, allocations: 4 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.366e-05/0.3659, allocations: 11.88 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.3661, allocations: 15.97 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.925e-05/0.3662, allocations: 39.86 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3663, allocations: 7.984 kB / 1.089 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.345e-05/0.3664, allocations: 15.83 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.3665, allocations: 19.91 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.3665, allocations: 4 kB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.3665, allocations: 0 / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.3665, allocations: 0 / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.3666, allocations: 23.92 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.3667, allocations: 35.84 kB / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3667, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3667, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3667, allocations: 0 / 1.09 GB, free: 15.81 MB / 0.8575 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.0004818/0.3672, allocations: 335.5 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3673, allocations: 12.03 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.3673, allocations: 4.938 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.3674, allocations: 180.2 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.3675, allocations: 8.312 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.3675, allocations: 384 / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.3677, allocations: 54.22 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.3677, allocations: 192 / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.3677, allocations: 7.938 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3677, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3678, allocations: 23.97 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.3683, allocations: 284.9 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.943e-05/0.3684, allocations: 34.48 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.345e-05/0.3685, allocations: 20.91 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.3685, allocations: 4 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3686, allocations: 34.56 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.3686, allocations: 0 / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003359/0.3689, allocations: 77.58 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/0.369, allocations: 55.34 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.453e-05/0.369, allocations: 101.9 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3691, allocations: 29.83 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.3691, allocations: 88.12 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.531e-05/0.3691, allocations: 3.906 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.3692, allocations: 13.72 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3693, allocations: 314.8 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.927e-05/0.3694, allocations: 11.98 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.3694, allocations: 15.97 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.3696, allocations: 36.89 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3696, allocations: 7.938 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001567/0.3697, allocations: 61.61 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3698, allocations: 7.984 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3698, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3698, allocations: 4.031 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.276e-05/0.3699, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3699, allocations: 0 / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.3699, allocations: 7.984 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-06/0.3699, allocations: 0 / 1.091 GB, free: 13.77 MB / 0.8575 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.139e-05/0.37, allocations: 113.8 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.37, allocations: 4 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.291e-05/0.3701, allocations: 7.531 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.3701, allocations: 4 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.3701, allocations: 3.984 kB / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.3701, allocations: 0 / 1.091 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.3703, allocations: 157.9 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3703, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.3703, allocations: 11.98 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3703, allocations: 7.938 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3703, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.3703, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3704, allocations: 0 / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002404/0.3706, allocations: 167.3 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.3706, allocations: 81.11 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.3707, allocations: 0 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.051e-05/0.3708, allocations: 11.98 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.3708, allocations: 7.938 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.3708, allocations: 3.984 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.3709, allocations: 83.31 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3709, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000214/0.3711, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 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.0001175/0.3712, allocations: 103.2 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3714, allocations: 35.95 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3714, allocations: 0 / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 7.188e-05/0.3715, allocations: 23.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3718, allocations: 9.359 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.3721, allocations: 115.2 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.3724, allocations: 0.6768 MB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.129e-05/0.3724, allocations: 7.891 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.3725, allocations: 15.5 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of SimCode: time 2.61e-07/0.3725, allocations: 0 / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of Templates: time 0.003036/0.3755, allocations: 0.6051 MB / 1.094 GB, free: 11.42 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches