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.001329/0.001329, 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.001449/0.001449, allocations: 193.5 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.7/2.7, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 60.47 kB / 0.912 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3465, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002548/0.3491, allocations: 1.478 MB / 1.07 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001894/0.3493, allocations: 55.8 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.82e-05/0.3494, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.115e-05/0.3494, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.512e-05/0.3495, allocations: 11.86 kB / 1.07 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.3496, allocations: 11.98 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.3497, allocations: 43.86 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3498, allocations: 11.97 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.3499, allocations: 15.94 kB / 1.07 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.238e-05/0.3499, allocations: 11.92 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3499, allocations: 4 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.35, allocations: 4 kB / 1.07 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.35, allocations: 4 kB / 1.07 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.35, allocations: 15.92 kB / 1.07 GB, free: 8.801 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.826e-05/0.3501, allocations: 32.17 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3501, allocations: 0 / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3501, allocations: 8 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3501, allocations: 0 / 1.07 GB, free: 8.762 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.0003894/0.3505, allocations: 343.4 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.3506, allocations: 8.031 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.3506, allocations: 4.938 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3507, allocations: 172.2 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.3507, allocations: 4.312 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.3507, allocations: 4.375 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.3509, allocations: 54.23 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3509, allocations: 192 / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.3509, allocations: 3.938 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.3509, allocations: 0 / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.3511, allocations: 39.89 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.3516, allocations: 274.1 kB / 1.071 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.3517, allocations: 42.42 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.731e-05/0.3518, allocations: 20.91 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.3518, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.3518, allocations: 30.56 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.3518, allocations: 4 kB / 1.071 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0003121/0.3521, allocations: 77.58 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.3522, allocations: 51.41 kB / 1.071 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.3522, allocations: 101.9 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3523, allocations: 25.7 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.164e-05/0.3523, allocations: 99.97 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.269e-05/0.3523, allocations: 4.125 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.3524, allocations: 9.719 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.3525, allocations: 318.8 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.721e-05/0.3526, allocations: 12.23 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.817e-05/0.3526, allocations: 15.97 kB / 1.071 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.3528, allocations: 40.89 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.3528, allocations: 3.938 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001712/0.353, allocations: 65.59 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.353, allocations: 4 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.353, allocations: 0 / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.353, allocations: 4 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.3531, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3531, allocations: 32 / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.552e-05/0.3531, allocations: 11.98 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.3532, allocations: 0 / 1.072 GB, free: 6.719 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 6.146e-05/0.3532, allocations: 109.8 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.3533, allocations: 7.906 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.237e-05/0.3533, allocations: 11.52 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.3533, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3533, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3533, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.3535, allocations: 165.6 kB / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3535, allocations: 0 / 1.072 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.115e-05/0.3535, allocations: 7.984 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3535, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3535, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3535, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3535, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.3538, allocations: 167.4 kB / 1.072 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.236e-05/0.3538, allocations: 77.11 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3538, allocations: 3.938 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.3539, allocations: 11.98 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.354, allocations: 7.984 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.354, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.843e-05/0.354, allocations: 79.28 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.354, allocations: 3.938 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002086/0.3542, allocations: 12.03 kB / 1.072 GB, free: 5.969 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.0001077/0.3544, allocations: 105.5 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3546, allocations: 27.95 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3546, allocations: 0 / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.3546, allocations: 23.92 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3549, allocations: 19.09 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002726/0.3552, allocations: 113.9 kB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.3555, allocations: 0.6768 MB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.695e-05/0.3555, allocations: 4 kB / 1.073 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.3555, allocations: 7.438 kB / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3555, allocations: 0 / 1.073 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of Templates: time 0.002583/0.3581, allocations: 0.6089 MB / 1.074 GB, free: 4.379 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