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.001403/0.001403, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00162/0.00162, allocations: 214.5 kB / 22.24 MB, free: 5.262 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 7.777 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.219/3.219, allocations: 0.4892 GB / 0.7943 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] 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.002069/0.002069, allocations: 72.03 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3292, allocations: 176.1 MB / 1.325 GB, free: 1.891 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.00747/0.3366, allocations: 4.475 MB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1765/0.5132, allocations: 132.7 MB / 1.459 GB, free: 8.16 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007887/0.5139, allocations: 23.81 kB / 1.46 GB, free: 8.137 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0006151/0.5146, allocations: 210.1 kB / 1.46 GB, free: 7.93 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001837/0.5164, allocations: 0.5621 MB / 1.46 GB, free: 7.371 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00221/0.5186, allocations: 0.8868 MB / 1.461 GB, free: 6.488 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001776/0.5204, allocations: 1.443 MB / 1.463 GB, free: 5.039 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007536/0.5211, allocations: 402.1 kB / 1.463 GB, free: 4.621 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007369/0.5219, allocations: 0.5334 MB / 1.463 GB, free: 4.086 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006485/0.5225, allocations: 479.3 kB / 1.464 GB, free: 3.617 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.5227, allocations: 120 kB / 1.464 GB, free: 3.5 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009745/0.5237, allocations: 499.6 kB / 1.464 GB, free: 3.012 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.524, allocations: 303 kB / 1.465 GB, free: 2.715 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0005079/0.5245, allocations: 481.7 kB / 1.465 GB, free: 2.242 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.5266, allocations: 1.72 MB / 1.467 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.5266, allocations: 4 kB / 1.467 GB, free: 0.5117 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5266, allocations: 0 / 1.467 GB, free: 0.5117 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.5266, allocations: 0 / 1.467 GB, free: 0.5117 MB / 1.154 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.002728/0.5294, allocations: 1.447 MB / 1.468 GB, free: 15.03 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.5294, allocations: 8.031 kB / 1.468 GB, free: 15.02 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.5312, allocations: 287.9 kB / 1.469 GB, free: 14.74 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.5327, allocations: 0.722 MB / 1.469 GB, free: 13.99 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.5328, allocations: 69.98 kB / 1.469 GB, free: 13.92 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.5329, allocations: 80 kB / 1.469 GB, free: 13.84 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.5349, allocations: 1.242 MB / 1.471 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.5349, allocations: 4 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.043e-05/0.535, allocations: 36 kB / 1.471 GB, free: 12.45 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.535, allocations: 24 kB / 1.471 GB, free: 12.43 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.5371, allocations: 1.116 MB / 1.472 GB, free: 11.3 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.5417, allocations: 2.401 MB / 1.474 GB, free: 8.84 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.5436, allocations: 0.8238 MB / 1.475 GB, free: 8.008 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005753/0.5442, allocations: 282.7 kB / 1.475 GB, free: 7.73 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.46e-05/0.5443, allocations: 32.56 kB / 1.475 GB, free: 7.699 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001004/0.5453, allocations: 0.5944 MB / 1.476 GB, free: 7.066 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 2.755e-06/0.5453, allocations: 0 / 1.476 GB, free: 7.066 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003515/0.5488, allocations: 1.164 MB / 1.477 GB, free: 5.891 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.5489, allocations: 196.9 kB / 1.477 GB, free: 5.656 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008821/0.5498, allocations: 0.6096 MB / 1.478 GB, free: 5.039 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/0.5499, allocations: 45.7 kB / 1.478 GB, free: 4.988 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004114/0.5503, allocations: 424.9 kB / 1.478 GB, free: 4.566 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.5506, allocations: 281.7 kB / 1.478 GB, free: 4.289 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/0.5509, allocations: 174.5 kB / 1.479 GB, free: 4.113 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002356/0.5511, allocations: 382.8 kB / 1.479 GB, free: 3.73 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005876/0.5517, allocations: 277.8 kB / 1.479 GB, free: 3.457 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007697/0.5525, allocations: 0.506 MB / 1.48 GB, free: 2.898 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.5537, allocations: 0.6423 MB / 1.48 GB, free: 2.238 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5537, allocations: 0 / 1.48 GB, free: 2.238 MB / 1.17 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002179/0.5559, allocations: 0.892 MB / 1.481 GB, free: 1.336 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5559, allocations: 5.562 kB / 1.481 GB, free: 1.332 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.5559, allocations: 0 / 1.481 GB, free: 1.332 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.5565, allocations: 88.95 kB / 1.481 GB, free: 1.242 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.5572, allocations: 171.8 kB / 1.482 GB, free: 1.074 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.5595, allocations: 1.507 MB / 1.483 GB, free: 15.46 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/0.5603, allocations: 83.61 kB / 1.483 GB, free: 15.38 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.33e-05/0.5603, allocations: 43.97 kB / 1.483 GB, free: 15.34 MB / 1.186 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.0004991/0.5608, allocations: 281.9 kB / 1.483 GB, free: 15.05 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/0.561, allocations: 87.48 kB / 1.483 GB, free: 14.96 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002556/0.5636, allocations: 1.077 MB / 1.485 GB, free: 13.87 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5636, allocations: 12 kB / 1.485 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5636, allocations: 3.984 kB / 1.485 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5636, allocations: 3.984 kB / 1.485 GB, free: 13.85 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003965/0.5676, allocations: 1.799 MB / 1.486 GB, free: 12.01 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.5676, allocations: 0 / 1.486 GB, free: 12.01 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006374/0.5682, allocations: 151.8 kB / 1.486 GB, free: 11.86 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004495/0.5686, allocations: 72.78 kB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-05/0.5687, allocations: 23.98 kB / 1.487 GB, free: 11.77 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002108/0.5708, allocations: 1.532 MB / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5708, allocations: 0 / 1.488 GB, free: 10.12 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.5732, allocations: 1.022 MB / 1.489 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005412/0.5737, allocations: 203 kB / 1.489 GB, free: 8.883 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.5738, allocations: 16 kB / 1.489 GB, free: 8.867 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/0.5745, allocations: 63.92 kB / 1.489 GB, free: 8.805 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.5747, allocations: 76.86 kB / 1.489 GB, free: 8.727 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.5748, allocations: 39.98 kB / 1.489 GB, free: 8.688 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006432/0.5754, allocations: 443 kB / 1.49 GB, free: 8.262 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5754, allocations: 0 / 1.49 GB, free: 8.262 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009609/0.5764, allocations: 343 kB / 1.49 GB, free: 7.926 MB / 1.186 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.002117/0.5785, allocations: 0.6329 MB / 1.491 GB, free: 7.496 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001972/0.5805, allocations: 0.8195 MB / 1.492 GB, free: 6.668 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.5805, allocations: 3.984 kB / 1.492 GB, free: 6.664 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.5815, allocations: 0.5044 MB / 1.492 GB, free: 6.148 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5828, allocations: 314.3 kB / 1.492 GB, free: 5.863 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003235/0.5861, allocations: 1.708 MB / 1.494 GB, free: 4.125 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.5866, allocations: 447 kB / 1.494 GB, free: 3.656 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0008666/0.5875, allocations: 270.6 kB / 1.495 GB, free: 3.387 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.5877, allocations: 111.3 kB / 1.495 GB, free: 3.277 MB / 1.186 GB Notification: Performance of SimCode: time 7.21e-07/0.5877, allocations: 0 / 1.495 GB, free: 3.277 MB / 1.186 GB Notification: Performance of Templates: time 0.03097/0.6187, allocations: 17.01 MB / 1.511 GB, free: 2.535 MB / 1.201 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.701592633500695]