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: 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.001101/0.001101, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 196.7 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 58.45 kB / 0.9121 GB, free: 33.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3524, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.0031/0.3556, allocations: 1.472 MB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.3558, allocations: 47.81 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.3558, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.126e-05/0.3559, allocations: 0 / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.356, allocations: 19.84 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002138/0.3562, allocations: 19.98 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.3563, allocations: 39.84 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3564, allocations: 4 kB / 1.07 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.3564, allocations: 11.94 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.546e-05/0.3565, allocations: 19.92 kB / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.3565, allocations: 0 / 1.07 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.3566, allocations: 4 kB / 1.07 GB, free: 8.707 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.3566, allocations: 3.984 kB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.679e-05/0.3566, allocations: 15.94 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.3567, allocations: 32.17 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3567, allocations: 4 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3567, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.3568, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8262 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.0004555/0.3572, allocations: 343.4 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3573, allocations: 8.031 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.3573, allocations: 8.875 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3574, allocations: 176.2 kB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.3575, allocations: 4.375 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.3575, allocations: 8.312 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.3577, allocations: 54.23 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3577, allocations: 4.172 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.3577, allocations: 3.938 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.3577, allocations: 0 / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.3579, allocations: 31.97 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.3584, allocations: 280.9 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001069/0.3585, allocations: 34.5 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.3586, allocations: 16.91 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3586, allocations: 0 / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/0.3586, allocations: 38.56 kB / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.92e-07/0.3586, allocations: 0 / 1.071 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003307/0.359, allocations: 81.58 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.359, allocations: 51.41 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.3591, allocations: 105.8 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3591, allocations: 25.7 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.558e-05/0.3592, allocations: 92.11 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.3592, allocations: 0 / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-05/0.3592, allocations: 13.72 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3594, allocations: 314.8 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.3595, allocations: 15.97 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.739e-05/0.3595, allocations: 15.98 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001379/0.3597, allocations: 32.89 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3597, allocations: 3.938 kB / 1.072 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001701/0.3599, allocations: 65.59 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3599, allocations: 8 kB / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.3599, allocations: 0 / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3599, allocations: 0 / 1.072 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.229e-05/0.36, allocations: 8.016 kB / 1.072 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.36, allocations: 4 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.36, allocations: 4 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3601, allocations: 0 / 1.072 GB, free: 6.609 MB / 0.8262 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 9.837e-05/0.3602, allocations: 119.3 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.3602, allocations: 7.891 kB / 1.072 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.3602, allocations: 3.531 kB / 1.072 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3602, allocations: 4 kB / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3602, allocations: 0 / 1.072 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3602, allocations: 4 kB / 1.072 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.3604, allocations: 161.6 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3604, allocations: 0 / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.698e-05/0.3605, allocations: 4.25 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3605, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.3605, allocations: 7.938 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3605, allocations: 4 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3605, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.3607, allocations: 167.4 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.258e-05/0.3608, allocations: 77.11 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.3608, allocations: 3.984 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.322e-05/0.3609, allocations: 11.98 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.3609, allocations: 0 / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-06/0.3609, allocations: 4 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.102e-05/0.361, allocations: 83.28 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.361, allocations: 7.969 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002088/0.3612, allocations: 4 kB / 1.072 GB, free: 5.852 MB / 0.8262 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.0001276/0.3613, allocations: 103.8 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000199/0.3615, allocations: 35.91 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3616, allocations: 0 / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.637e-05/0.3616, allocations: 16.05 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.3619, allocations: 17.95 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002781/0.3622, allocations: 109.9 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3625, allocations: 0.6807 MB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.3625, allocations: 0 / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.3625, allocations: 15.5 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3626, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.002623/0.3652, allocations: 0.618 MB / 1.074 GB, free: 4.25 MB / 0.8262 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