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.001462/0.001462, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001587/0.001587, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.17 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.192/2.192, allocations: 390.2 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 71.88 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8878/0.8893, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006464/0.8958, allocations: 4.429 MB / 1.093 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1912/1.087, allocations: 150.6 MB / 1.24 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/1.088, allocations: 15.28 kB / 1.24 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006749/1.089, allocations: 180.2 kB / 1.24 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002211/1.091, allocations: 0.5147 MB / 1.241 GB, free: 364 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002569/1.094, allocations: 0.8474 MB / 1.241 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001801/1.096, allocations: 1.343 MB / 1.243 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009987/1.097, allocations: 0.6403 MB / 1.243 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008428/1.098, allocations: 0.489 MB / 1.244 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006458/1.098, allocations: 0.5004 MB / 1.244 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001931/1.098, allocations: 116.3 kB / 1.244 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001139/1.1, allocations: 486 kB / 1.245 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002966/1.1, allocations: 302 kB / 1.245 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005/1.1, allocations: 0.5557 MB / 1.246 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001868/1.102, allocations: 1.629 MB / 1.247 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.102, allocations: 3.938 kB / 1.247 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.124e-06/1.102, allocations: 4 kB / 1.247 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.297e-05/1.102, allocations: 4 kB / 1.247 GB, free: 11.13 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.002482/1.105, allocations: 1.431 MB / 1.249 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/1.105, allocations: 12.03 kB / 1.249 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/1.106, allocations: 231.2 kB / 1.249 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/1.107, allocations: 0.7733 MB / 1.25 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.926e-05/1.107, allocations: 66 kB / 1.25 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.107, allocations: 87.98 kB / 1.25 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/1.109, allocations: 0.9833 MB / 1.251 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/1.109, allocations: 4 kB / 1.251 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.518e-05/1.109, allocations: 36 kB / 1.251 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/1.109, allocations: 20 kB / 1.251 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/1.111, allocations: 1.171 MB / 1.252 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004013/1.115, allocations: 2.789 MB / 1.255 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/1.117, allocations: 0.9454 MB / 1.256 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/1.117, allocations: 310.7 kB / 1.256 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.762e-05/1.117, allocations: 28.61 kB / 1.256 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008435/1.118, allocations: 0.5001 MB / 1.257 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 3.066e-06/1.118, allocations: 8 kB / 1.257 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003172/1.121, allocations: 1.224 MB / 1.258 GB, free: 232 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/1.122, allocations: 188.9 kB / 1.258 GB, free: 0 / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008255/1.122, allocations: 0.6371 MB / 1.259 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/1.122, allocations: 41.7 kB / 1.259 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/1.123, allocations: 416.2 kB / 1.259 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/1.123, allocations: 264.2 kB / 1.259 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/1.123, allocations: 174.4 kB / 1.259 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.123, allocations: 386.8 kB / 1.26 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/1.124, allocations: 273.8 kB / 1.26 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006154/1.125, allocations: 385.7 kB / 1.26 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/1.126, allocations: 0.6423 MB / 1.261 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.126, allocations: 0 / 1.261 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002003/1.128, allocations: 0.8839 MB / 1.262 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/1.128, allocations: 4 kB / 1.262 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.128, allocations: 3.938 kB / 1.262 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006209/1.128, allocations: 88.89 kB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/1.129, allocations: 171.8 kB / 1.262 GB, free: 11.58 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/1.131, allocations: 1.622 MB / 1.264 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007925/1.132, allocations: 99.34 kB / 1.264 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/1.132, allocations: 39.97 kB / 1.264 GB, free: 9.668 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.0005303/1.133, allocations: 276.1 kB / 1.264 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.133, allocations: 82.97 kB / 1.264 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/1.135, allocations: 1.089 MB / 1.265 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/1.135, allocations: 8 kB / 1.265 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/1.135, allocations: 0 / 1.265 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/1.135, allocations: 3.984 kB / 1.265 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003748/1.139, allocations: 2.089 MB / 1.267 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/1.139, allocations: 4 kB / 1.267 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/1.14, allocations: 147.7 kB / 1.267 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/1.14, allocations: 76.78 kB / 1.268 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/1.14, allocations: 23.98 kB / 1.268 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/1.142, allocations: 1.662 MB / 1.269 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.142, allocations: 0 / 1.269 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.144, allocations: 1.01 MB / 1.27 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004939/1.145, allocations: 283.7 kB / 1.27 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/1.145, allocations: 20 kB / 1.27 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006955/1.146, allocations: 59.94 kB / 1.271 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000186/1.146, allocations: 80.83 kB / 1.271 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/1.146, allocations: 35.97 kB / 1.271 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006935/1.147, allocations: 459 kB / 1.271 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.147, allocations: 0 / 1.271 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001024/1.148, allocations: 323.1 kB / 1.271 GB, free: 1.695 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.001506/1.149, allocations: 0.6129 MB / 1.272 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001844/1.151, allocations: 0.8472 MB / 1.273 GB, free: 404 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.151, allocations: 0 / 1.273 GB, free: 404 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009717/1.152, allocations: 0.5198 MB / 1.273 GB, free: 15.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.153, allocations: 311.8 kB / 1.274 GB, free: 15.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/1.158, allocations: 1.812 MB / 1.275 GB, free: 13.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/1.158, allocations: 1.036 MB / 1.276 GB, free: 12.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/1.159, allocations: 123.4 kB / 1.276 GB, free: 12.55 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.159, allocations: 0 / 1.276 GB, free: 12.55 MB / 1.014 GB Notification: Performance of Templates: time 0.02711/1.186, allocations: 18.8 MB / 1.295 GB, free: 9.793 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches