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: 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.001665/0.001665, allocations: 106.4 kB / 16.37 MB, free: 6.438 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.002197/0.002197, allocations: 189.1 kB / 17.3 MB, free: 5.781 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.445/1.445, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.604/2.604, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001612, allocations: 59.84 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3522, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.003484/0.3557, allocations: 1.478 MB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002648/0.356, allocations: 47.86 kB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.793e-05/0.3561, allocations: 7.938 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.3561, allocations: 7.938 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.227e-05/0.3562, allocations: 7.922 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3564, allocations: 15.92 kB / 1.028 GB, free: 500 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.071e-05/0.3565, allocations: 39.8 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3566, allocations: 11.97 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.572e-05/0.3566, allocations: 12 kB / 1.028 GB, free: 436 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.38e-05/0.3567, allocations: 15.92 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.3567, allocations: 4 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.275e-05/0.3567, allocations: 4 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.3568, allocations: 8 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.3568, allocations: 15.92 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.009e-05/0.3569, allocations: 31.89 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3569, allocations: 0 / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3569, allocations: 0 / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3569, allocations: 4 kB / 1.028 GB, free: 352 kB / 0.795 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.0005314/0.3574, allocations: 343.4 kB / 1.029 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.3575, allocations: 8.031 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.32e-05/0.3575, allocations: 4.938 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3577, allocations: 176.3 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3577, allocations: 384 / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.3577, allocations: 4.312 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.358, allocations: 62.16 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.358, allocations: 192 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.358, allocations: 3.938 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.358, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.3582, allocations: 27.97 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.3587, allocations: 280.8 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.3588, allocations: 46.42 kB / 1.029 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.3589, allocations: 16.91 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.3589, allocations: 4 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.3589, allocations: 34.56 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.359, allocations: 0 / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0003267/0.3593, allocations: 73.64 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.3593, allocations: 55.34 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.036e-05/0.3594, allocations: 106 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3595, allocations: 29.69 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.741e-05/0.3595, allocations: 84.14 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.3595, allocations: 7.906 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.3596, allocations: 9.719 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3597, allocations: 310.8 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.3598, allocations: 19.98 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.3599, allocations: 19.97 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.36, allocations: 36.77 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.36, allocations: 3.938 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001612/0.3602, allocations: 57.66 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3602, allocations: 7.125 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3602, allocations: 4.031 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3602, allocations: 4 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.3603, allocations: 12 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3603, allocations: 0 / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.3604, allocations: 7.984 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.3604, allocations: 0 / 1.03 GB, free: 14.3 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 8.369e-05/0.3605, allocations: 113.7 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3605, allocations: 4 kB / 1.03 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.189e-05/0.3606, allocations: 7.516 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3606, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3606, allocations: 3.938 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3606, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.3607, allocations: 165.6 kB / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3607, allocations: 0 / 1.03 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.3608, allocations: 7.984 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3608, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.3608, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3608, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3608, allocations: 0 / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.3611, allocations: 171.3 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/0.3611, allocations: 77.36 kB / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.3611, allocations: 0 / 1.031 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3612, allocations: 15.98 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.3613, allocations: 3.984 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.3613, allocations: 4.031 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.129e-05/0.3613, allocations: 83.28 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3613, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002203/0.3616, allocations: 8 kB / 1.031 GB, free: 13.55 MB / 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.0001255/0.3617, allocations: 99.25 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.3619, allocations: 31.95 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3619, allocations: 4.062 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.226e-05/0.362, allocations: 19.98 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.3623, allocations: 7.938 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002906/0.3626, allocations: 104.9 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3629, allocations: 0.6806 MB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.722e-05/0.3629, allocations: 3.984 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.3629, allocations: 15.5 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3629, allocations: 0 / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of Templates: time 0.002642/0.3656, allocations: 0.6026 MB / 1.032 GB, free: 11.96 MB / 0.8106 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 -s cvode -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/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