Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 102.8 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.079/3.079, allocations: 0.4899 GB / 0.7915 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.08 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3341, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007154/0.3412, allocations: 5.001 MB / 1.326 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1827/0.5239, allocations: 154 MB / 1.476 GB, free: 3.227 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007611/0.5247, allocations: 23.81 kB / 1.477 GB, free: 3.203 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005899/0.5253, allocations: 198.1 kB / 1.477 GB, free: 3.008 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001632/0.5269, allocations: 0.5698 MB / 1.477 GB, free: 2.438 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.5289, allocations: 0.8849 MB / 1.478 GB, free: 1.559 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.5305, allocations: 1.451 MB / 1.48 GB, free: 104 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007646/0.5313, allocations: 433.5 kB / 1.48 GB, free: 15.65 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007351/0.532, allocations: 0.5256 MB / 1.48 GB, free: 15.12 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006759/0.5327, allocations: 0.5289 MB / 1.481 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/0.5328, allocations: 120 kB / 1.481 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009954/0.5338, allocations: 0.5113 MB / 1.482 GB, free: 13.96 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.5341, allocations: 303 kB / 1.482 GB, free: 13.67 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.5347, allocations: 0.5752 MB / 1.482 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.5369, allocations: 1.708 MB / 1.484 GB, free: 11.38 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5369, allocations: 0 / 1.484 GB, free: 11.38 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5369, allocations: 0 / 1.484 GB, free: 11.38 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.5369, allocations: 4 kB / 1.484 GB, free: 11.37 MB / 1.186 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.002754/0.5397, allocations: 1.526 MB / 1.486 GB, free: 9.797 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.5397, allocations: 15.92 kB / 1.486 GB, free: 9.781 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001876/0.5416, allocations: 287.9 kB / 1.486 GB, free: 9.5 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.5429, allocations: 0.7903 MB / 1.487 GB, free: 8.668 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.5429, allocations: 65.98 kB / 1.487 GB, free: 8.602 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.5431, allocations: 91.98 kB / 1.487 GB, free: 8.512 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.5448, allocations: 0.9794 MB / 1.488 GB, free: 7.484 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/0.5449, allocations: 3.938 kB / 1.488 GB, free: 7.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.18e-05/0.545, allocations: 36 kB / 1.488 GB, free: 7.445 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.545, allocations: 28 kB / 1.488 GB, free: 7.418 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.5471, allocations: 1.163 MB / 1.489 GB, free: 6.25 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004663/0.5518, allocations: 3.068 MB / 1.492 GB, free: 3.039 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.5537, allocations: 0.8989 MB / 1.493 GB, free: 2.113 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.5543, allocations: 285.2 kB / 1.493 GB, free: 1.828 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.401e-05/0.5544, allocations: 32.59 kB / 1.493 GB, free: 1.797 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009394/0.5553, allocations: 0.5043 MB / 1.494 GB, free: 1.273 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.265e-06/0.5553, allocations: 4 kB / 1.494 GB, free: 1.27 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.00341/0.5587, allocations: 1.228 MB / 1.495 GB, free: 20 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.5589, allocations: 192.9 kB / 1.495 GB, free: 15.79 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000892/0.5598, allocations: 0.6606 MB / 1.496 GB, free: 15.12 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.048e-05/0.5598, allocations: 41.7 kB / 1.496 GB, free: 15.07 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003583/0.5602, allocations: 433 kB / 1.496 GB, free: 14.64 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/0.5604, allocations: 273.7 kB / 1.496 GB, free: 14.38 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.5607, allocations: 182.5 kB / 1.497 GB, free: 14.19 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002218/0.5609, allocations: 390.7 kB / 1.497 GB, free: 13.8 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.5615, allocations: 273.8 kB / 1.497 GB, free: 13.53 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007468/0.5623, allocations: 393.7 kB / 1.498 GB, free: 13.12 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.5636, allocations: 0.6462 MB / 1.498 GB, free: 12.46 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5636, allocations: 0 / 1.498 GB, free: 12.46 MB / 1.201 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002194/0.5658, allocations: 0.8843 MB / 1.499 GB, free: 11.56 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.5658, allocations: 4 kB / 1.499 GB, free: 11.56 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.5658, allocations: 7.984 kB / 1.499 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.5664, allocations: 80.97 kB / 1.499 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007069/0.5672, allocations: 175.7 kB / 1.499 GB, free: 11.3 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.5695, allocations: 1.641 MB / 1.501 GB, free: 9.508 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.5703, allocations: 103.5 kB / 1.501 GB, free: 9.406 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.042e-05/0.5703, allocations: 39.97 kB / 1.501 GB, free: 9.367 MB / 1.201 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.0004771/0.5708, allocations: 263.4 kB / 1.501 GB, free: 9.098 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.571, allocations: 91.44 kB / 1.501 GB, free: 9.008 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.5735, allocations: 1.085 MB / 1.502 GB, free: 7.91 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.5735, allocations: 12 kB / 1.502 GB, free: 7.898 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5735, allocations: 0 / 1.502 GB, free: 7.898 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.5735, allocations: 11.97 kB / 1.502 GB, free: 7.887 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.5774, allocations: 2.107 MB / 1.505 GB, free: 5.707 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.5774, allocations: 0 / 1.505 GB, free: 5.707 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/0.5781, allocations: 151.8 kB / 1.505 GB, free: 5.559 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/0.5786, allocations: 72.78 kB / 1.505 GB, free: 5.484 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.387e-05/0.5786, allocations: 27.92 kB / 1.505 GB, free: 5.457 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.5808, allocations: 1.658 MB / 1.506 GB, free: 3.656 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5808, allocations: 4.062 kB / 1.506 GB, free: 3.652 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.5831, allocations: 1.018 MB / 1.507 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004243/0.5835, allocations: 284.2 kB / 1.508 GB, free: 2.316 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5836, allocations: 16 kB / 1.508 GB, free: 2.301 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/0.5843, allocations: 63.92 kB / 1.508 GB, free: 2.238 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.5844, allocations: 84.77 kB / 1.508 GB, free: 2.156 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.583e-05/0.5845, allocations: 35.98 kB / 1.508 GB, free: 2.121 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000677/0.5852, allocations: 479 kB / 1.508 GB, free: 1.66 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5852, allocations: 0 / 1.508 GB, free: 1.66 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009964/0.5862, allocations: 331.2 kB / 1.509 GB, free: 1.336 MB / 1.201 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.00193/0.5881, allocations: 0.6028 MB / 1.509 GB, free: 0.9023 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001917/0.5901, allocations: 0.8272 MB / 1.51 GB, free: 64 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.5901, allocations: 0 / 1.51 GB, free: 64 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.5911, allocations: 0.4928 MB / 1.511 GB, free: 15.55 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.5925, allocations: 323.1 kB / 1.511 GB, free: 15.26 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.5957, allocations: 1.718 MB / 1.513 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007255/0.5965, allocations: 1.043 MB / 1.514 GB, free: 12.45 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008309/0.5973, allocations: 271 kB / 1.514 GB, free: 12.18 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003067/0.5976, allocations: 111.4 kB / 1.514 GB, free: 12.07 MB / 1.217 GB Notification: Performance of SimCode: time 7.51e-07/0.5976, allocations: 0 / 1.514 GB, free: 12.07 MB / 1.217 GB Notification: Performance of Templates: time 0.029/0.6266, allocations: 16.17 MB / 1.53 GB, free: 12.07 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.286641366779804]