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.001644/0.001644, allocations: 104 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.001375/0.001375, 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.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.116/3.116, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) [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.002079/0.002079, allocations: 67.12 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3385, allocations: 176.1 MB / 1.321 GB, free: 3.355 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007209/0.3457, allocations: 4.99 MB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1861/0.5318, allocations: 154 MB / 1.476 GB, free: 3.719 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001037/0.5328, allocations: 23.81 kB / 1.476 GB, free: 3.695 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.5337, allocations: 198.1 kB / 1.476 GB, free: 3.5 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.5359, allocations: 0.5708 MB / 1.477 GB, free: 2.93 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002504/0.5384, allocations: 0.8851 MB / 1.478 GB, free: 2.051 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002199/0.5406, allocations: 1.443 MB / 1.479 GB, free: 0.6016 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.5418, allocations: 433.5 kB / 1.48 GB, free: 156 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.5429, allocations: 0.5295 MB / 1.48 GB, free: 15.62 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009177/0.5438, allocations: 0.5212 MB / 1.481 GB, free: 15.09 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.5441, allocations: 120 kB / 1.481 GB, free: 14.98 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.5454, allocations: 0.5111 MB / 1.481 GB, free: 14.47 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004277/0.5458, allocations: 311 kB / 1.481 GB, free: 14.16 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000882/0.5467, allocations: 0.5714 MB / 1.482 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002774/0.5495, allocations: 1.716 MB / 1.484 GB, free: 11.87 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5495, allocations: 4 kB / 1.484 GB, free: 11.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5495, allocations: 0 / 1.484 GB, free: 11.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.491e-05/0.5495, allocations: 3.938 kB / 1.484 GB, free: 11.86 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.003293/0.5528, allocations: 1.53 MB / 1.485 GB, free: 10.28 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5529, allocations: 15.98 kB / 1.485 GB, free: 10.27 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001829/0.553, allocations: 135.7 kB / 1.485 GB, free: 10.12 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.5549, allocations: 287.9 kB / 1.486 GB, free: 9.844 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.5562, allocations: 0.8018 MB / 1.486 GB, free: 9 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/0.5563, allocations: 62 kB / 1.486 GB, free: 8.938 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.5564, allocations: 84 kB / 1.487 GB, free: 8.855 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.5582, allocations: 0.9833 MB / 1.487 GB, free: 7.824 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.5582, allocations: 4 kB / 1.487 GB, free: 7.82 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.192e-05/0.5583, allocations: 40 kB / 1.488 GB, free: 7.781 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.5583, allocations: 20 kB / 1.488 GB, free: 7.762 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/0.5605, allocations: 1.163 MB / 1.489 GB, free: 6.594 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.5652, allocations: 3.08 MB / 1.492 GB, free: 3.371 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001951/0.5671, allocations: 0.8937 MB / 1.493 GB, free: 2.449 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005694/0.5677, allocations: 282.7 kB / 1.493 GB, free: 2.168 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-05/0.5678, allocations: 36.59 kB / 1.493 GB, free: 2.133 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009626/0.5687, allocations: 0.4979 MB / 1.493 GB, free: 1.617 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.635e-06/0.5687, allocations: 3.938 kB / 1.493 GB, free: 1.613 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.003452/0.5722, allocations: 1.236 MB / 1.495 GB, free: 360 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.5723, allocations: 192.9 kB / 1.495 GB, free: 124 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/0.5733, allocations: 0.6646 MB / 1.495 GB, free: 15.45 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.5733, allocations: 41.7 kB / 1.495 GB, free: 15.4 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/0.5737, allocations: 421 kB / 1.496 GB, free: 14.98 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/0.574, allocations: 285.6 kB / 1.496 GB, free: 14.7 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/0.5742, allocations: 150.6 kB / 1.496 GB, free: 14.55 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002144/0.5744, allocations: 390.8 kB / 1.497 GB, free: 14.16 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005395/0.575, allocations: 253.9 kB / 1.497 GB, free: 13.91 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006646/0.5756, allocations: 385.1 kB / 1.497 GB, free: 13.5 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.5768, allocations: 0.6228 MB / 1.498 GB, free: 12.86 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5768, allocations: 0 / 1.498 GB, free: 12.86 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002104/0.5789, allocations: 0.8491 MB / 1.499 GB, free: 12 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.579, allocations: 7.984 kB / 1.499 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.579, allocations: 4 kB / 1.499 GB, free: 11.99 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00061/0.5796, allocations: 80.91 kB / 1.499 GB, free: 11.91 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.5803, allocations: 159.8 kB / 1.499 GB, free: 11.75 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.5827, allocations: 1.642 MB / 1.501 GB, free: 9.957 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007402/0.5835, allocations: 87.52 kB / 1.501 GB, free: 9.871 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.5836, allocations: 31.97 kB / 1.501 GB, free: 9.84 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: 15 (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 (92): * Single equations (assignments): 91 * 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.0005197/0.5841, allocations: 275.9 kB / 1.501 GB, free: 9.562 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.5843, allocations: 95.56 kB / 1.501 GB, free: 9.469 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.5868, allocations: 1.085 MB / 1.502 GB, free: 8.371 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.5868, allocations: 12 kB / 1.502 GB, free: 8.359 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.5868, allocations: 3.984 kB / 1.502 GB, free: 8.355 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5868, allocations: 3.984 kB / 1.502 GB, free: 8.352 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003817/0.5906, allocations: 2.107 MB / 1.504 GB, free: 6.172 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/0.5906, allocations: 11.94 kB / 1.504 GB, free: 6.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005973/0.5912, allocations: 147.8 kB / 1.504 GB, free: 6.016 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004445/0.5917, allocations: 76.78 kB / 1.504 GB, free: 5.938 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.5917, allocations: 23.98 kB / 1.504 GB, free: 5.914 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.5938, allocations: 1.662 MB / 1.506 GB, free: 4.109 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.5938, allocations: 0 / 1.506 GB, free: 4.109 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.596, allocations: 1.022 MB / 1.507 GB, free: 3.066 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004452/0.5964, allocations: 284.2 kB / 1.507 GB, free: 2.77 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001274/0.5966, allocations: 19.95 kB / 1.507 GB, free: 2.75 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000686/0.5973, allocations: 70.05 kB / 1.507 GB, free: 2.684 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.5974, allocations: 72.83 kB / 1.507 GB, free: 2.613 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.5975, allocations: 39.97 kB / 1.507 GB, free: 2.574 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007002/0.5982, allocations: 475 kB / 1.508 GB, free: 2.117 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5982, allocations: 0 / 1.508 GB, free: 2.117 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009851/0.5992, allocations: 335.2 kB / 1.508 GB, free: 1.789 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.004412/0.6036, allocations: 2.077 MB / 1.51 GB, free: 15.86 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.6054, allocations: 0.7925 MB / 1.511 GB, free: 15.06 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6054, allocations: 4 kB / 1.511 GB, free: 15.05 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0009737/0.6064, allocations: 0.4924 MB / 1.512 GB, free: 14.55 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.6078, allocations: 319.8 kB / 1.512 GB, free: 14.26 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01132/0.6191, allocations: 6.446 MB / 1.518 GB, free: 7.648 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007396/0.6199, allocations: 1.031 MB / 1.519 GB, free: 6.59 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008644/0.6207, allocations: 275 kB / 1.519 GB, free: 6.316 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006321/0.6214, allocations: 407.2 kB / 1.52 GB, free: 5.918 MB / 1.217 GB Notification: Performance of SimCode: time 1.032e-06/0.6214, allocations: 0 / 1.52 GB, free: 5.918 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06478/0.6861, allocations: 22.69 MB / 1.542 GB, free: 15.48 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.9, allocations: 12.17 kB / 1.542 GB, free: 15.47 MB / 1.248 GB " [Timeout remaining time 286] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/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: 20.595170333981514]