Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001506/0.001506, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002103/0.002103, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.441/1.441, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.91 kB / 0.8687 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7257/0.7271, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature): time 0.002655/0.7298, allocations: 1.543 MB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002223/0.7301, allocations: 47.8 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.495e-05/0.7301, allocations: 4 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.383e-05/0.7302, allocations: 0 / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.233e-05/0.7303, allocations: 7.922 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.7305, allocations: 19.98 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.573e-05/0.7306, allocations: 35.86 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.7307, allocations: 15.92 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.7308, allocations: 11.92 kB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.7309, allocations: 15.98 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.7309, allocations: 3.938 kB / 1.018 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.656e-05/0.7309, allocations: 4 kB / 1.018 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.844e-05/0.7309, allocations: 8 kB / 1.018 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.731, allocations: 15.94 kB / 1.018 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.889e-05/0.7311, allocations: 33.86 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7311, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7311, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7311, allocations: 0 / 1.019 GB, free: 0.9336 MB / 0.7637 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.0004761/0.7316, allocations: 343.4 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.7316, allocations: 8.031 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.7317, allocations: 8.844 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.7318, allocations: 168.4 kB / 1.019 GB, free: 336 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.7318, allocations: 4.375 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.247e-06/0.7318, allocations: 384 / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.732, allocations: 50.23 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.732, allocations: 192 / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.732, allocations: 3.938 kB / 1.019 GB, free: 272 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.732, allocations: 3.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.7322, allocations: 39.95 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.7327, allocations: 276.8 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.7328, allocations: 30.5 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.294e-05/0.7329, allocations: 28.89 kB / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.733, allocations: 0 / 1.019 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.733, allocations: 38.5 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.733, allocations: 0 / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003171/0.7333, allocations: 69.66 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.7334, allocations: 51.41 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.434e-05/0.7335, allocations: 113.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.415e-05/0.7335, allocations: 25.7 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.066e-05/0.7335, allocations: 84.14 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.7336, allocations: 3.984 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.7336, allocations: 13.72 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7337, allocations: 310.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.51e-05/0.7338, allocations: 15.98 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.5e-05/0.7339, allocations: 19.92 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.734, allocations: 36.81 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.734, allocations: 7.875 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001653/0.7342, allocations: 61.58 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.7342, allocations: 8.094 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7342, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.7343, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/0.7344, allocations: 8.234 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.7344, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.039e-05/0.7344, allocations: 11.98 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.7344, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 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 0.0001053/0.7345, allocations: 118.2 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.7346, allocations: 3.984 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.7346, allocations: 15.47 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7346, allocations: 4 kB / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.7346, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7346, allocations: 0 / 1.02 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.7348, allocations: 161.6 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.7348, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.098e-05/0.7349, allocations: 7.984 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7349, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.7349, allocations: 0 / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7349, allocations: 4 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7349, allocations: 4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000246/0.7352, allocations: 159.5 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.439e-05/0.7352, allocations: 81.02 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.7352, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.7353, allocations: 11.98 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/0.7354, allocations: 8.031 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7354, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.372e-05/0.7355, allocations: 83.27 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7355, allocations: 3.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002131/0.7357, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 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.0001192/0.7358, allocations: 99.25 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002002/0.736, allocations: 35.97 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.736, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.502e-05/0.7361, allocations: 19.97 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.7364, allocations: 13.16 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.7367, allocations: 110.1 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.737, allocations: 0.6808 MB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.888e-05/0.737, allocations: 3.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.341e-05/0.7371, allocations: 11.44 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7371, allocations: 0 / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of Templates: time 0.00273/0.7398, allocations: 0.5427 MB / 1.022 GB, free: 12.61 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckBlackBodySkyTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckBlackBodySkyTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches