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.001349/0.001349, 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.001538/0.001538, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.341/2.341, allocations: 390.2 MB / 0.6646 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 63.91 kB / 0.8125 GB, free: 14.44 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6887/0.6902, allocations: 140.4 MB / 0.9496 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.003081/0.6933, allocations: 1.467 MB / 0.951 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001831/0.6935, allocations: 45.19 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.024e-05/0.6936, allocations: 1.25 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.6936, allocations: 7.875 kB / 0.9511 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.35e-05/0.6937, allocations: 9.297 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.6939, allocations: 20.97 kB / 0.9511 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.819e-05/0.6939, allocations: 40.64 kB / 0.9511 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.694, allocations: 6.5 kB / 0.9511 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.306e-05/0.6941, allocations: 15.48 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.103e-05/0.6941, allocations: 17.02 kB / 0.9512 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.6942, allocations: 7.031 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.433e-05/0.6942, allocations: 2.5 kB / 0.9512 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.6942, allocations: 3.938 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.6942, allocations: 18.23 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.719e-05/0.6943, allocations: 33.89 kB / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.6943, allocations: 0 / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6943, allocations: 0 / 0.9512 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.01e-05/0.6944, allocations: 1.062 kB / 0.9512 GB, free: 7.855 MB / 0.7169 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.0003843/0.6948, allocations: 339.6 kB / 0.9516 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.6948, allocations: 13.78 kB / 0.9516 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.6949, allocations: 6.125 kB / 0.9516 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/0.6949, allocations: 167.4 kB / 0.9517 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.695, allocations: 4.359 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.695, allocations: 6.25 kB / 0.9517 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.6952, allocations: 49.7 kB / 0.9518 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.6952, allocations: 5.688 kB / 0.9518 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.6952, allocations: 3.938 kB / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.6952, allocations: 0 / 0.9518 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.6954, allocations: 38.55 kB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.6958, allocations: 271.7 kB / 0.9521 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.6959, allocations: 35.81 kB / 0.9521 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.81e-05/0.696, allocations: 27.02 kB / 0.9522 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.696, allocations: 3.938 kB / 0.9522 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.696, allocations: 30.56 kB / 0.9522 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.696, allocations: 2 kB / 0.9522 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003477/0.6964, allocations: 72.28 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.6964, allocations: 59.41 kB / 0.9523 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.6965, allocations: 109.8 kB / 0.9524 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.798e-06/0.6965, allocations: 25.7 kB / 0.9524 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.969e-05/0.6965, allocations: 85.94 kB / 0.9525 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.6965, allocations: 0 / 0.9525 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.6966, allocations: 11.88 kB / 0.9525 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.347e-05/0.6966, allocations: 316.2 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.6967, allocations: 16.39 kB / 0.9529 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.687e-05/0.6968, allocations: 20.36 kB / 0.9529 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.6969, allocations: 33.34 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6969, allocations: 3.938 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000167/0.6971, allocations: 65.58 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6971, allocations: 6.094 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.6971, allocations: 256 / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.6971, allocations: 0 / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.593e-05/0.6972, allocations: 13.05 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.6972, allocations: 0 / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.6973, allocations: 8.391 kB / 0.953 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.6973, allocations: 0 / 0.953 GB, free: 6.027 MB / 0.7169 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 5.358e-05/0.6974, allocations: 127.8 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.6974, allocations: 1.938 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.759e-05/0.6974, allocations: 8.312 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6974, allocations: 0 / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.6974, allocations: 1.062 kB / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6974, allocations: 0 / 0.9531 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.6976, allocations: 162.9 kB / 0.9533 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.6976, allocations: 0 / 0.9533 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.6976, allocations: 8.328 kB / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.6976, allocations: 0.875 kB / 0.9533 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.6976, allocations: 4 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.6976, allocations: 0.875 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.6977, allocations: 0 / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.6978, allocations: 161.7 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.6979, allocations: 82.36 kB / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.6979, allocations: 0 / 0.9535 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.715e-05/0.698, allocations: 17.86 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.698, allocations: 2.156 kB / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.6981, allocations: 0 / 0.9536 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.011e-05/0.6981, allocations: 92.86 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6981, allocations: 0 / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002214/0.6983, allocations: 4.812 kB / 0.9537 GB, free: 5.324 MB / 0.7169 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.0001145/0.6984, allocations: 103.1 kB / 0.9537 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.6987, allocations: 38.77 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6987, allocations: 0 / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.716e-05/0.6987, allocations: 13.92 kB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.6991, allocations: 17.77 kB / 0.9538 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.6994, allocations: 106.5 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.6995, allocations: 0.6852 MB / 0.9546 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.6995, allocations: 1.062 kB / 0.9546 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.003e-05/0.6995, allocations: 8.938 kB / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.6995, allocations: 0 / 0.9546 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of Templates: time 0.002465/0.702, allocations: 0.6153 MB / 0.9552 GB, free: 4.086 MB / 0.7169 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