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.00667/0.006671, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001689/0.001689, allocations: 193.7 kB / 16.67 MB, free: 5.926 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.212/2.212, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 0.9508 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8087, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005156/0.8139, allocations: 4.432 MB / 1.092 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1832/0.9972, allocations: 150.6 MB / 1.239 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.9982, allocations: 15.22 kB / 1.239 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0007846/0.9991, allocations: 181 kB / 1.239 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002159/1.001, allocations: 0.5146 MB / 1.24 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00242/1.004, allocations: 0.843 MB / 1.241 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00189/1.006, allocations: 1.336 MB / 1.242 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001107/1.007, allocations: 0.6523 MB / 1.243 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009194/1.008, allocations: 494.4 kB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008994/1.009, allocations: 0.5066 MB / 1.244 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003404/1.009, allocations: 117.7 kB / 1.244 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/1.01, allocations: 480.7 kB / 1.244 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004455/1.011, allocations: 307.6 kB / 1.245 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008152/1.012, allocations: 0.5557 MB / 1.245 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002473/1.014, allocations: 1.633 MB / 1.247 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/1.014, allocations: 0 / 1.247 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/1.014, allocations: 0 / 1.247 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.246e-05/1.014, allocations: 0 / 1.247 GB, free: 11.11 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.003145/1.017, allocations: 1.443 MB / 1.248 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/1.017, allocations: 12.03 kB / 1.248 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/1.019, allocations: 235.3 kB / 1.248 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/1.02, allocations: 0.7733 MB / 1.249 GB, free: 8.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.839e-05/1.02, allocations: 66 kB / 1.249 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/1.02, allocations: 84 kB / 1.249 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/1.022, allocations: 0.9833 MB / 1.25 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/1.022, allocations: 0 / 1.25 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/1.022, allocations: 40 kB / 1.25 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.014e-05/1.022, allocations: 23.98 kB / 1.25 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/1.024, allocations: 1.167 MB / 1.251 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/1.028, allocations: 2.781 MB / 1.254 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/1.03, allocations: 0.9454 MB / 1.255 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005151/1.03, allocations: 314.6 kB / 1.255 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-05/1.03, allocations: 32.59 kB / 1.255 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008411/1.031, allocations: 0.5041 MB / 1.256 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 2.835e-06/1.031, allocations: 0 / 1.256 GB, free: 1.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003399/1.035, allocations: 1.224 MB / 1.257 GB, free: 196 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/1.035, allocations: 192.9 kB / 1.257 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009308/1.036, allocations: 0.6293 MB / 1.258 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.994e-05/1.036, allocations: 45.69 kB / 1.258 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003423/1.036, allocations: 412.2 kB / 1.258 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002055/1.037, allocations: 264.2 kB / 1.259 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/1.037, allocations: 182.4 kB / 1.259 GB, free: 14.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.037, allocations: 382.8 kB / 1.259 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005049/1.037, allocations: 277.8 kB / 1.259 GB, free: 13.76 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/1.038, allocations: 385.7 kB / 1.26 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/1.039, allocations: 0.6384 MB / 1.26 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.039, allocations: 0 / 1.26 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001953/1.041, allocations: 0.8799 MB / 1.261 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.237e-05/1.041, allocations: 8 kB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.041, allocations: 4.062 kB / 1.261 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005813/1.042, allocations: 84.95 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006649/1.043, allocations: 171.8 kB / 1.261 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/1.045, allocations: 1.629 MB / 1.263 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007207/1.045, allocations: 95.53 kB / 1.263 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.838e-05/1.045, allocations: 44.03 kB / 1.263 GB, free: 9.633 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.0004777/1.046, allocations: 279.8 kB / 1.263 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/1.046, allocations: 82.97 kB / 1.264 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/1.048, allocations: 1.081 MB / 1.265 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.048, allocations: 12 kB / 1.265 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/1.048, allocations: 0 / 1.265 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.048, allocations: 3.984 kB / 1.265 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/1.052, allocations: 2.092 MB / 1.267 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.217e-06/1.052, allocations: 0 / 1.267 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/1.053, allocations: 151.8 kB / 1.267 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/1.053, allocations: 72.78 kB / 1.267 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.042e-05/1.053, allocations: 31.92 kB / 1.267 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001876/1.055, allocations: 1.658 MB / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.055, allocations: 0 / 1.269 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/1.057, allocations: 1.017 MB / 1.269 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003577/1.057, allocations: 271.7 kB / 1.27 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/1.057, allocations: 16 kB / 1.27 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/1.058, allocations: 59.94 kB / 1.27 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/1.058, allocations: 80.83 kB / 1.27 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.007e-05/1.058, allocations: 31.98 kB / 1.27 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005496/1.059, allocations: 463 kB / 1.27 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.059, allocations: 0 / 1.27 GB, free: 1.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000855/1.06, allocations: 323.2 kB / 1.271 GB, free: 1.664 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.001322/1.061, allocations: 0.6038 MB / 1.271 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.063, allocations: 0.8546 MB / 1.272 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.063, allocations: 0 / 1.272 GB, free: 368 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009123/1.064, allocations: 0.5279 MB / 1.273 GB, free: 15.82 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/1.065, allocations: 314.9 kB / 1.273 GB, free: 15.54 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003639/1.069, allocations: 1.771 MB / 1.275 GB, free: 13.74 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006098/1.069, allocations: 1.032 MB / 1.276 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007492/1.07, allocations: 262.9 kB / 1.276 GB, free: 12.42 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002711/1.07, allocations: 111.3 kB / 1.276 GB, free: 12.31 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/1.07, allocations: 4 kB / 1.276 GB, free: 12.31 MB / 1.014 GB Notification: Performance of Templates: time 0.02496/1.095, allocations: 15.49 MB / 1.291 GB, free: 12.98 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