Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001854/0.001854, 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.002364/0.002364, allocations: 210.6 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.174/3.174, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_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.002048/0.002048, allocations: 66.36 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3844, allocations: 181.9 MB / 1.363 GB, free: 14.13 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007713/0.3921, allocations: 4.487 MB / 1.368 GB, free: 9.617 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1716/0.5637, allocations: 132.7 MB / 1.497 GB, free: 4.387 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009493/0.5647, allocations: 27.75 kB / 1.497 GB, free: 4.359 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007997/0.5655, allocations: 198.2 kB / 1.498 GB, free: 4.164 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.5675, allocations: 0.5725 MB / 1.498 GB, free: 3.594 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.5697, allocations: 0.874 MB / 1.499 GB, free: 2.723 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001875/0.5715, allocations: 1.44 MB / 1.5 GB, free: 1.277 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008489/0.5724, allocations: 417.9 kB / 1.501 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007929/0.5732, allocations: 0.5256 MB / 1.501 GB, free: 324 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007037/0.5739, allocations: 477.7 kB / 1.502 GB, free: 15.85 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.5741, allocations: 120 kB / 1.502 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.5751, allocations: 495.6 kB / 1.502 GB, free: 15.25 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003206/0.5754, allocations: 311 kB / 1.503 GB, free: 14.94 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.576, allocations: 485.7 kB / 1.503 GB, free: 14.46 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002391/0.5784, allocations: 1.716 MB / 1.505 GB, free: 12.74 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.927e-06/0.5784, allocations: 4 kB / 1.505 GB, free: 12.74 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5784, allocations: 0 / 1.505 GB, free: 12.74 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.79e-05/0.5784, allocations: 0 / 1.505 GB, free: 12.74 MB / 1.201 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.002915/0.5813, allocations: 1.445 MB / 1.506 GB, free: 11.26 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5814, allocations: 8.031 kB / 1.506 GB, free: 11.25 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001885/0.5816, allocations: 151.6 kB / 1.506 GB, free: 11.1 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.5834, allocations: 283.9 kB / 1.507 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.585, allocations: 0.7296 MB / 1.507 GB, free: 10.06 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/0.585, allocations: 66 kB / 1.507 GB, free: 9.992 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.5851, allocations: 84 kB / 1.507 GB, free: 9.91 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.5872, allocations: 1.246 MB / 1.509 GB, free: 8.555 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.5873, allocations: 4 kB / 1.509 GB, free: 8.551 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/0.5874, allocations: 36 kB / 1.509 GB, free: 8.516 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.5874, allocations: 20 kB / 1.509 GB, free: 8.496 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002144/0.5895, allocations: 1.116 MB / 1.51 GB, free: 7.379 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004667/0.5942, allocations: 2.545 MB / 1.512 GB, free: 4.758 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.596, allocations: 0.8192 MB / 1.513 GB, free: 3.938 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/0.5966, allocations: 281.4 kB / 1.513 GB, free: 3.664 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-05/0.5967, allocations: 28.62 kB / 1.513 GB, free: 3.637 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.5978, allocations: 0.6049 MB / 1.514 GB, free: 2.992 MB / 1.201 GB Notification: Performance of pre-optimization done (n=83): time 2.706e-06/0.5978, allocations: 0 / 1.514 GB, free: 2.992 MB / 1.201 GB Notification: Performance of matching and sorting (n=83): time 0.003383/0.6011, allocations: 1.16 MB / 1.515 GB, free: 1.824 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.6013, allocations: 196.9 kB / 1.515 GB, free: 1.59 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009404/0.6022, allocations: 0.6606 MB / 1.516 GB, free: 0.918 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.777e-05/0.6023, allocations: 45.7 kB / 1.516 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.6027, allocations: 421 kB / 1.516 GB, free: 460 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.603, allocations: 289.5 kB / 1.517 GB, free: 168 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.6032, allocations: 154.6 kB / 1.517 GB, free: 8 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002399/0.6035, allocations: 386.8 kB / 1.517 GB, free: 15.62 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.604, allocations: 249.9 kB / 1.517 GB, free: 15.38 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.6048, allocations: 0.5094 MB / 1.518 GB, free: 14.8 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001216/0.606, allocations: 0.6189 MB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.606, allocations: 4 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002184/0.6082, allocations: 0.849 MB / 1.519 GB, free: 13.3 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.6082, allocations: 4 kB / 1.519 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.6083, allocations: 0 / 1.519 GB, free: 13.29 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006313/0.6089, allocations: 84.97 kB / 1.519 GB, free: 13.21 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.6096, allocations: 159.8 kB / 1.52 GB, free: 13.05 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002332/0.6119, allocations: 1.527 MB / 1.521 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.6127, allocations: 95.47 kB / 1.521 GB, free: 11.31 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.6128, allocations: 36.03 kB / 1.521 GB, free: 11.27 MB / 1.217 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.0005194/0.6133, allocations: 261.7 kB / 1.521 GB, free: 11.01 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.6135, allocations: 87.44 kB / 1.522 GB, free: 10.92 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.6161, allocations: 1.097 MB / 1.523 GB, free: 9.812 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.6161, allocations: 8 kB / 1.523 GB, free: 9.805 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.6161, allocations: 0 / 1.523 GB, free: 9.805 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6161, allocations: 7.984 kB / 1.523 GB, free: 9.797 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.6202, allocations: 1.916 MB / 1.525 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6202, allocations: 0 / 1.525 GB, free: 7.828 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.6209, allocations: 151.8 kB / 1.525 GB, free: 7.68 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004333/0.6213, allocations: 72.78 kB / 1.525 GB, free: 7.605 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.6214, allocations: 23.98 kB / 1.525 GB, free: 7.582 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002189/0.6235, allocations: 1.547 MB / 1.526 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6235, allocations: 0 / 1.526 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/0.6258, allocations: 1.026 MB / 1.527 GB, free: 4.867 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005211/0.6263, allocations: 211 kB / 1.527 GB, free: 4.66 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.6264, allocations: 16 kB / 1.527 GB, free: 4.645 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/0.6271, allocations: 67.92 kB / 1.528 GB, free: 4.578 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/0.6273, allocations: 84.73 kB / 1.528 GB, free: 4.492 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.069e-05/0.6274, allocations: 35.97 kB / 1.528 GB, free: 4.457 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006881/0.6281, allocations: 479 kB / 1.528 GB, free: 3.996 MB / 1.217 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6281, allocations: 0 / 1.528 GB, free: 3.996 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001003/0.6291, allocations: 335.1 kB / 1.528 GB, free: 3.668 MB / 1.217 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.004674/0.6337, allocations: 2.093 MB / 1.53 GB, free: 1.758 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001966/0.6357, allocations: 0.796 MB / 1.531 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6357, allocations: 3.938 kB / 1.531 GB, free: 0.9453 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/0.6367, allocations: 0.5005 MB / 1.532 GB, free: 448 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.6382, allocations: 324.3 kB / 1.532 GB, free: 140 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.6497, allocations: 6.436 MB / 1.538 GB, free: 9.531 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.6502, allocations: 455.4 kB / 1.539 GB, free: 9.059 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009401/0.6511, allocations: 263.1 kB / 1.539 GB, free: 8.797 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006684/0.6518, allocations: 403.3 kB / 1.539 GB, free: 8.402 MB / 1.232 GB Notification: Performance of SimCode: time 1.312e-06/0.6518, allocations: 0 / 1.539 GB, free: 8.402 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0744/0.7262, allocations: 24.36 MB / 1.563 GB, free: 372 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.67, allocations: 6.25 kB / 1.563 GB, free: 368 kB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.59241552092135]