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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009873/0.0009872, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009007/0.0009008, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.621/2.621, allocations: 390.9 MB / 0.666 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004063, allocations: 11.98 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7841/0.7845, allocations: 142.4 MB / 0.9544 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.001516/0.7861, allocations: 1.188 MB / 0.9556 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001928/0.7863, allocations: 42.95 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.155e-05/0.7864, allocations: 1.062 kB / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.73e-05/0.7864, allocations: 0 / 0.9556 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.306e-05/0.7865, allocations: 12.81 kB / 0.9557 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001739/0.7866, allocations: 13.81 kB / 0.9557 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.995e-05/0.7867, allocations: 32.73 kB / 0.9557 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.568e-05/0.7868, allocations: 11.3 kB / 0.9557 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.889e-05/0.7869, allocations: 9.953 kB / 0.9557 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.372e-05/0.7869, allocations: 16.64 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.7869, allocations: 1.438 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.787, allocations: 2.438 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.787, allocations: 0 / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.265e-05/0.787, allocations: 36.61 kB / 0.9558 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.289e-05/0.7871, allocations: 21.36 kB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7871, allocations: 0 / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7871, allocations: 0 / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.7871, allocations: 3.938 kB / 0.9558 GB, free: 6.629 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.0003918/0.7875, allocations: 349.2 kB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.7876, allocations: 9.625 kB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.197e-05/0.7876, allocations: 6.672 kB / 0.9561 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.207e-05/0.7877, allocations: 164 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.7877, allocations: 1.094 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.175e-05/0.7877, allocations: 1.062 kB / 0.9563 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.7879, allocations: 62.84 kB / 0.9564 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.7879, allocations: 1.094 kB / 0.9564 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.788, allocations: 0 / 0.9564 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.788, allocations: 1.062 kB / 0.9564 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001507/0.7881, allocations: 54.88 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.7886, allocations: 283.4 kB / 0.9567 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.735e-05/0.7887, allocations: 40.59 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.7888, allocations: 26.81 kB / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.7888, allocations: 0 / 0.9568 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.7888, allocations: 39.53 kB / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7888, allocations: 0 / 0.9568 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003303/0.7892, allocations: 91.94 kB / 0.9569 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.7892, allocations: 56.66 kB / 0.9569 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.7893, allocations: 104.9 kB / 0.957 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.7893, allocations: 25.7 kB / 0.9571 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.7893, allocations: 85.3 kB / 0.9571 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.506e-05/0.7894, allocations: 5.219 kB / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.7894, allocations: 0 / 0.9571 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.7894, allocations: 315.8 kB / 0.9574 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.719e-05/0.7895, allocations: 25.52 kB / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.237e-05/0.7896, allocations: 16.83 kB / 0.9575 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.113e-05/0.7897, allocations: 20.98 kB / 0.9575 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7897, allocations: 5.125 kB / 0.9575 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001649/0.7898, allocations: 70.91 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.7899, allocations: 5.406 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.7899, allocations: 0 / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.7899, allocations: 4.922 kB / 0.9576 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.961e-05/0.79, allocations: 15.27 kB / 0.9576 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.79, allocations: 1.062 kB / 0.9576 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.7901, allocations: 9.562 kB / 0.9576 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.7901, allocations: 1.062 kB / 0.9576 GB, free: 4.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.7901, allocations: 118.7 kB / 0.9577 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.7902, allocations: 2.438 kB / 0.9577 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.203e-05/0.7902, allocations: 12.73 kB / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.7902, allocations: 0 / 0.9577 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.7902, allocations: 7.891 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7902, allocations: 1.031 kB / 0.9577 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.7903, allocations: 166.3 kB / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7903, allocations: 0 / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.804e-05/0.7904, allocations: 7.031 kB / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7904, allocations: 1.344 kB / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.7904, allocations: 0 / 0.9579 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7904, allocations: 7.875 kB / 0.9579 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7904, allocations: 5.438 kB / 0.9579 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.7906, allocations: 169.4 kB / 0.9581 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.033e-05/0.7907, allocations: 79.2 kB / 0.9582 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.7907, allocations: 4.031 kB / 0.9582 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.705e-05/0.7908, allocations: 14.33 kB / 0.9582 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.7908, allocations: 5.297 kB / 0.9582 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.7908, allocations: 1.156 kB / 0.9582 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.872e-05/0.7909, allocations: 87.77 kB / 0.9583 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7909, allocations: 0 / 0.9583 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002166/0.7911, allocations: 5.219 kB / 0.9583 GB, free: 4.125 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001166/0.7912, allocations: 109 kB / 0.9584 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001991/0.7914, allocations: 43.69 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7914, allocations: 1.375 kB / 0.9584 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.322e-05/0.7915, allocations: 22.58 kB / 0.9584 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.7918, allocations: 8.984 kB / 0.9585 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.7921, allocations: 115.9 kB / 0.9586 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.7922, allocations: 0.6817 MB / 0.9592 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.7923, allocations: 5.078 kB / 0.9592 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.021e-05/0.7923, allocations: 8.594 kB / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.7923, allocations: 0 / 0.9592 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.002391/0.7947, allocations: 0.5106 MB / 0.9597 GB, free: 2.93 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