Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001291/0.001291, allocations: 106.6 kB / 16.45 MB, free: 6.453 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.001492/0.001492, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7672 GB, free: 5.227 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_11_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.002039/0.002039, allocations: 63.91 kB / 1.112 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7198/0.7218, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007232/0.729, allocations: 4.999 MB / 1.283 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1817/0.9107, allocations: 154 MB / 1.434 GB, free: 13.8 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009353/0.9116, allocations: 31.75 kB / 1.434 GB, free: 13.77 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007936/0.9124, allocations: 190.2 kB / 1.434 GB, free: 13.58 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002195/0.9146, allocations: 0.5778 MB / 1.434 GB, free: 13.01 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002378/0.917, allocations: 0.8716 MB / 1.435 GB, free: 12.14 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.9194, allocations: 1.451 MB / 1.437 GB, free: 10.68 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.9206, allocations: 445.9 kB / 1.437 GB, free: 10.22 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.9218, allocations: 0.5256 MB / 1.437 GB, free: 9.695 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009879/0.9227, allocations: 0.5212 MB / 1.438 GB, free: 9.172 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.9231, allocations: 116 kB / 1.438 GB, free: 9.059 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.9243, allocations: 0.5151 MB / 1.439 GB, free: 8.543 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004222/0.9248, allocations: 311 kB / 1.439 GB, free: 8.238 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009251/0.9257, allocations: 0.5791 MB / 1.439 GB, free: 7.656 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.929, allocations: 1.72 MB / 1.441 GB, free: 5.93 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.929, allocations: 0 / 1.441 GB, free: 5.93 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.793e-06/0.929, allocations: 0 / 1.441 GB, free: 5.93 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.652e-05/0.9291, allocations: 0 / 1.441 GB, free: 5.93 MB / 1.139 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.00359/0.9327, allocations: 1.522 MB / 1.443 GB, free: 4.355 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.9327, allocations: 12.03 kB / 1.443 GB, free: 4.344 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002602/0.933, allocations: 143.6 kB / 1.443 GB, free: 4.195 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.935, allocations: 283.9 kB / 1.443 GB, free: 3.918 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/0.9366, allocations: 0.8018 MB / 1.444 GB, free: 3.074 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.9367, allocations: 66 kB / 1.444 GB, free: 3.008 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001666/0.9369, allocations: 84 kB / 1.444 GB, free: 2.926 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.939, allocations: 0.9872 MB / 1.445 GB, free: 1.891 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.939, allocations: 3.984 kB / 1.445 GB, free: 1.887 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-05/0.9391, allocations: 36 kB / 1.445 GB, free: 1.852 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.9391, allocations: 24 kB / 1.445 GB, free: 1.828 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002296/0.9414, allocations: 1.167 MB / 1.446 GB, free: 0.6602 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005033/0.9464, allocations: 3.014 MB / 1.449 GB, free: 13.52 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.9485, allocations: 0.9058 MB / 1.45 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006015/0.9491, allocations: 282.7 kB / 1.45 GB, free: 12.3 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.72e-05/0.9492, allocations: 40.53 kB / 1.45 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000975/0.9501, allocations: 0.4925 MB / 1.451 GB, free: 11.76 MB / 1.154 GB Notification: Performance of pre-optimization done (n=83): time 2.474e-06/0.9501, allocations: 7.938 kB / 1.451 GB, free: 11.75 MB / 1.154 GB Notification: Performance of matching and sorting (n=83): time 0.003593/0.9537, allocations: 1.237 MB / 1.452 GB, free: 10.48 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.9539, allocations: 192.9 kB / 1.452 GB, free: 10.25 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.9549, allocations: 0.6529 MB / 1.453 GB, free: 9.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/0.9551, allocations: 41.7 kB / 1.453 GB, free: 9.543 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.9555, allocations: 425 kB / 1.453 GB, free: 9.121 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002959/0.9558, allocations: 285.5 kB / 1.454 GB, free: 8.84 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002848/0.956, allocations: 154.6 kB / 1.454 GB, free: 8.684 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002285/0.9563, allocations: 390.8 kB / 1.454 GB, free: 8.293 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005938/0.9569, allocations: 257.9 kB / 1.454 GB, free: 8.039 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.9576, allocations: 381.1 kB / 1.455 GB, free: 7.633 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001264/0.9589, allocations: 0.6228 MB / 1.455 GB, free: 6.992 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.9589, allocations: 0 / 1.455 GB, free: 6.992 MB / 1.154 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002243/0.9611, allocations: 0.8451 MB / 1.456 GB, free: 6.133 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.9611, allocations: 4 kB / 1.456 GB, free: 6.129 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.9612, allocations: 7.938 kB / 1.456 GB, free: 6.121 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006375/0.9618, allocations: 80.97 kB / 1.456 GB, free: 6.039 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.9625, allocations: 163.8 kB / 1.456 GB, free: 5.879 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.9649, allocations: 1.637 MB / 1.458 GB, free: 4.102 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000819/0.9658, allocations: 95.45 kB / 1.458 GB, free: 4.008 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/0.9659, allocations: 27.98 kB / 1.458 GB, free: 3.98 MB / 1.154 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.0005215/0.9664, allocations: 273.7 kB / 1.458 GB, free: 3.703 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00027/0.9666, allocations: 91.44 kB / 1.458 GB, free: 3.613 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.9694, allocations: 1.085 MB / 1.459 GB, free: 2.516 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.9694, allocations: 12 kB / 1.459 GB, free: 2.504 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.9695, allocations: 0 / 1.459 GB, free: 2.504 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.9695, allocations: 3.984 kB / 1.459 GB, free: 2.5 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.9738, allocations: 2.111 MB / 1.462 GB, free: 324 kB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.9738, allocations: 3.938 kB / 1.462 GB, free: 320 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.9745, allocations: 151.8 kB / 1.462 GB, free: 168 kB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004692/0.9749, allocations: 84.7 kB / 1.462 GB, free: 80 kB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-05/0.975, allocations: 27.97 kB / 1.462 GB, free: 52 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002249/0.9773, allocations: 1.65 MB / 1.463 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9773, allocations: 0 / 1.463 GB, free: 14.25 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.9797, allocations: 1.026 MB / 1.464 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.9803, allocations: 284.1 kB / 1.465 GB, free: 12.91 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.9804, allocations: 20 kB / 1.465 GB, free: 12.89 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.9812, allocations: 67.92 kB / 1.465 GB, free: 12.82 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.9814, allocations: 72.84 kB / 1.465 GB, free: 12.75 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.515e-05/0.9815, allocations: 39.97 kB / 1.465 GB, free: 12.71 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0007429/0.9822, allocations: 475 kB / 1.465 GB, free: 12.25 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9822, allocations: 0 / 1.465 GB, free: 12.25 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001005/0.9832, allocations: 335.1 kB / 1.466 GB, free: 11.93 MB / 1.17 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.004571/0.9878, allocations: 2.078 MB / 1.468 GB, free: 10 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.9898, allocations: 0.7925 MB / 1.468 GB, free: 9.199 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.9898, allocations: 4 kB / 1.468 GB, free: 9.195 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.9908, allocations: 0.4924 MB / 1.469 GB, free: 8.695 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.9925, allocations: 320.7 kB / 1.469 GB, free: 8.398 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01261/1.005, allocations: 6.452 MB / 1.476 GB, free: 1.781 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/1.006, allocations: 1.035 MB / 1.477 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008919/1.007, allocations: 263 kB / 1.477 GB, free: 468 kB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/1.007, allocations: 407.2 kB / 1.477 GB, free: 60 kB / 1.17 GB Notification: Performance of SimCode: time 8.72e-07/1.007, allocations: 0 / 1.477 GB, free: 60 kB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06494/1.072, allocations: 22.71 MB / 1.499 GB, free: 9.641 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.57, allocations: 0 / 1.499 GB, free: 9.641 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.779889242956415]