Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008424/0.008424, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001894/0.001894, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.853/1.853, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.227/2.227, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7644/0.7656, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005635/0.7713, allocations: 4.424 MB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1849/0.9562, allocations: 150.6 MB / 1.239 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.9573, allocations: 19.59 kB / 1.239 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006208/0.9579, allocations: 177.2 kB / 1.239 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.96, allocations: 0.5254 MB / 1.24 GB, free: 308 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.9626, allocations: 0.8466 MB / 1.241 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.9646, allocations: 1.352 MB / 1.242 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.9657, allocations: 0.6402 MB / 1.243 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008693/0.9665, allocations: 0.4901 MB / 1.243 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.9672, allocations: 0.4992 MB / 1.244 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.9674, allocations: 116.7 kB / 1.244 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.9685, allocations: 492 kB / 1.244 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.9688, allocations: 299 kB / 1.245 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005787/0.9693, allocations: 0.5557 MB / 1.245 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.9715, allocations: 1.627 MB / 1.247 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.9716, allocations: 7.938 kB / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9716, allocations: 0 / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.245e-05/0.9716, allocations: 0 / 1.247 GB, free: 11.06 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002905/0.9745, allocations: 1.48 MB / 1.248 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.9746, allocations: 12.03 kB / 1.248 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001401/0.976, allocations: 244 kB / 1.248 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.9773, allocations: 0.7739 MB / 1.249 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.736e-05/0.9773, allocations: 66 kB / 1.249 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.9775, allocations: 87.94 kB / 1.249 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.9793, allocations: 0.9834 MB / 1.25 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.9793, allocations: 0 / 1.25 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.322e-05/0.9794, allocations: 39.98 kB / 1.25 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.9795, allocations: 20 kB / 1.25 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.9815, allocations: 1.159 MB / 1.251 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.9861, allocations: 2.813 MB / 1.254 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.988, allocations: 0.9369 MB / 1.255 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005562/0.9886, allocations: 314.7 kB / 1.255 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.882e-05/0.9887, allocations: 32.61 kB / 1.255 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009707/0.9896, allocations: 0.4901 MB / 1.256 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.655e-06/0.9897, allocations: 0 / 1.256 GB, free: 1.352 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003354/0.993, allocations: 1.232 MB / 1.257 GB, free: 96 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.9932, allocations: 192.9 kB / 1.257 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.994, allocations: 0.6371 MB / 1.258 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/0.9941, allocations: 45.7 kB / 1.258 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003756/0.9945, allocations: 421 kB / 1.258 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.9948, allocations: 281.6 kB / 1.259 GB, free: 14.47 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.9951, allocations: 166.6 kB / 1.259 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.9952, allocations: 386.8 kB / 1.259 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005703/0.9958, allocations: 273.8 kB / 1.259 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.9965, allocations: 393.6 kB / 1.26 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.9977, allocations: 0.6345 MB / 1.26 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.9977, allocations: 0 / 1.26 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002051/0.9998, allocations: 0.892 MB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.9998, allocations: 4 kB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.9998, allocations: 4.188 kB / 1.261 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006314/1, allocations: 76.78 kB / 1.261 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007407/1.001, allocations: 179.7 kB / 1.262 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/1.004, allocations: 1.641 MB / 1.263 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009066/1.004, allocations: 95.53 kB / 1.263 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/1.005, allocations: 39.97 kB / 1.263 GB, free: 9.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004869/1.005, allocations: 267.9 kB / 1.264 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/1.005, allocations: 91.42 kB / 1.264 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/1.008, allocations: 1.089 MB / 1.265 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/1.008, allocations: 15.98 kB / 1.265 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.008, allocations: 0 / 1.265 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.008, allocations: 3.984 kB / 1.265 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/1.012, allocations: 2.092 MB / 1.267 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/1.012, allocations: 0 / 1.267 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006182/1.013, allocations: 147.8 kB / 1.267 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/1.013, allocations: 72.78 kB / 1.267 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/1.013, allocations: 27.98 kB / 1.267 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.015, allocations: 1.658 MB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.015, allocations: 0 / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002161/1.017, allocations: 1.014 MB / 1.27 GB, free: 2.766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004572/1.018, allocations: 272.2 kB / 1.27 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/1.018, allocations: 23.94 kB / 1.27 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007016/1.019, allocations: 71.98 kB / 1.27 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/1.019, allocations: 76.78 kB / 1.27 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.245e-05/1.019, allocations: 39.97 kB / 1.27 GB, free: 2.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005853/1.019, allocations: 455 kB / 1.27 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.019, allocations: 7.938 kB / 1.27 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008729/1.02, allocations: 323.1 kB / 1.271 GB, free: 1.512 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001326/1.022, allocations: 0.6086 MB / 1.271 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.023, allocations: 0.8429 MB / 1.272 GB, free: 220 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/1.023, allocations: 384 / 1.272 GB, free: 220 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009637/1.024, allocations: 0.5315 MB / 1.273 GB, free: 15.67 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/1.026, allocations: 307.8 kB / 1.273 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/1.03, allocations: 1.804 MB / 1.275 GB, free: 13.56 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/1.03, allocations: 1.036 MB / 1.276 GB, free: 12.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0009004/1.031, allocations: 270.8 kB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/1.032, allocations: 111.4 kB / 1.276 GB, free: 12.12 MB / 1.014 GB Notification: Performance of SimCode: time 9.52e-07/1.032, allocations: 0 / 1.276 GB, free: 12.12 MB / 1.014 GB Notification: Performance of Templates: time 0.02584/1.057, allocations: 15.48 MB / 1.291 GB, free: 12.79 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches