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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cheSkyBlaBodTem.TBlaSky",fileNamePrefix="Buildings_latest_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_latest_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.007307/0.007307, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001934/0.001934, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.898/2.898, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3618, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.003139/0.365, allocations: 1.476 MB / 1.209 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.000222/0.3652, allocations: 55.8 kB / 1.209 GB, free: 8.105 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.783e-05/0.3653, allocations: 4 kB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.3653, allocations: 0 / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.3654, allocations: 3.938 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3656, allocations: 23.91 kB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.3657, allocations: 35.86 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.3658, allocations: 7.984 kB / 1.209 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.174e-05/0.3659, allocations: 19.92 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.314e-05/0.366, allocations: 15.92 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.366, allocations: 8 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.366, allocations: 0 / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.3661, allocations: 8 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.3661, allocations: 15.92 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.885e-05/0.3662, allocations: 23.91 kB / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3662, allocations: 0 / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3662, allocations: 0 / 1.209 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.3662, allocations: 0 / 1.209 GB, free: 7.941 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.0004796/0.3667, allocations: 347.4 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.3668, allocations: 12.62 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.3668, allocations: 0.9375 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3671, allocations: 188.1 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3671, allocations: 384 / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.697e-06/0.3671, allocations: 384 / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3673, allocations: 54.23 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3673, allocations: 192 / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.3673, allocations: 3.938 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3673, allocations: 0 / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.3675, allocations: 31.97 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.368, allocations: 268.9 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.3681, allocations: 46.42 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.373e-05/0.3682, allocations: 20.91 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.3682, allocations: 0 / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.3683, allocations: 30.56 kB / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3683, allocations: 0 / 1.21 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0003008/0.3686, allocations: 81.58 kB / 1.21 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.3687, allocations: 59.47 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.485e-05/0.3688, allocations: 101.9 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.3688, allocations: 25.7 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.3689, allocations: 92.03 kB / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.37e-05/0.3689, allocations: 0 / 1.211 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.3689, allocations: 13.72 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.369, allocations: 314.8 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.371e-05/0.3691, allocations: 15.98 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.3692, allocations: 23.97 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3693, allocations: 32.83 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3693, allocations: 3.938 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001746/0.3695, allocations: 57.7 kB / 1.211 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3695, allocations: 11.98 kB / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3696, allocations: 0 / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3696, allocations: 256 / 1.211 GB, free: 5.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.5e-05/0.3697, allocations: 8 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3697, allocations: 4 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.3697, allocations: 11.98 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.3697, allocations: 0 / 1.211 GB, free: 5.891 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.486e-05/0.3698, allocations: 109.8 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.3698, allocations: 11.91 kB / 1.211 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.124e-05/0.3699, allocations: 3.531 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.3699, allocations: 3.984 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3699, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3699, allocations: 3.984 kB / 1.211 GB, free: 5.746 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.3701, allocations: 157.6 kB / 1.211 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3701, allocations: 4 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.074e-05/0.3701, allocations: 7.984 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3701, allocations: 0 / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3701, allocations: 4 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3701, allocations: 4 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3701, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.3704, allocations: 163.4 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3705, allocations: 77.11 kB / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3705, allocations: 0 / 1.212 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.591e-05/0.3706, allocations: 16.02 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.3707, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.3707, allocations: 3.984 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.3707, allocations: 83.28 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3707, allocations: 0 / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000218/0.3709, allocations: 8 kB / 1.212 GB, free: 5.145 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.0001126/0.3711, allocations: 101 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.3713, allocations: 43.83 kB / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3713, allocations: 0 / 1.212 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 7.598e-05/0.3714, allocations: 19.92 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.3717, allocations: 15.88 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002714/0.372, allocations: 102 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003601/0.3724, allocations: 0.6808 MB / 1.213 GB, free: 4.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.6e-05/0.3724, allocations: 4 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.3724, allocations: 7.438 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3724, allocations: 0 / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of Templates: time 0.002673/0.3751, allocations: 0.6145 MB / 1.213 GB, free: 3.543 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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