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.00127/0.00127, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001412/0.001412, allocations: 212.8 kB / 22.25 MB, free: 5.125 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.961 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.013/3.013, allocations: 0.49 GB / 0.7951 GB, free: 33.36 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.002708/0.002708, allocations: 75.17 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3519, allocations: 176.1 MB / 1.326 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007212/0.3591, allocations: 5.028 MB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1786/0.5377, allocations: 154.2 MB / 1.481 GB, free: 2.125 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008746/0.5386, allocations: 23.81 kB / 1.481 GB, free: 2.102 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.5393, allocations: 198.2 kB / 1.482 GB, free: 1.906 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.5412, allocations: 0.5692 MB / 1.482 GB, free: 1.336 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002312/0.5435, allocations: 0.8964 MB / 1.483 GB, free: 456 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002052/0.5456, allocations: 1.451 MB / 1.484 GB, free: 14.99 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008483/0.5464, allocations: 426.1 kB / 1.485 GB, free: 14.55 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008674/0.5473, allocations: 0.5294 MB / 1.485 GB, free: 14.02 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007939/0.5481, allocations: 0.5328 MB / 1.486 GB, free: 13.48 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.000196/0.5483, allocations: 120 kB / 1.486 GB, free: 13.36 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.5494, allocations: 0.5074 MB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.5497, allocations: 307 kB / 1.487 GB, free: 12.55 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006166/0.5503, allocations: 0.579 MB / 1.487 GB, free: 11.97 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002407/0.5527, allocations: 1.712 MB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5527, allocations: 4 kB / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5527, allocations: 0 / 1.489 GB, free: 10.25 MB / 1.186 GB Notification: Performance of Transformations before backend: time 2.419e-05/0.5527, allocations: 0 / 1.489 GB, free: 10.25 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.002854/0.5556, allocations: 1.456 MB / 1.49 GB, free: 8.762 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5556, allocations: 12.03 kB / 1.49 GB, free: 8.75 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.5558, allocations: 139.7 kB / 1.491 GB, free: 8.605 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00182/0.5576, allocations: 291.8 kB / 1.491 GB, free: 8.32 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.5591, allocations: 0.7258 MB / 1.492 GB, free: 7.562 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.175e-05/0.5591, allocations: 62 kB / 1.492 GB, free: 7.5 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.5593, allocations: 88 kB / 1.492 GB, free: 7.414 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001767/0.561, allocations: 0.9833 MB / 1.493 GB, free: 6.383 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.561, allocations: 3.938 kB / 1.493 GB, free: 6.379 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/0.5611, allocations: 39.94 kB / 1.493 GB, free: 6.34 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.5612, allocations: 24 kB / 1.493 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.5632, allocations: 1.159 MB / 1.494 GB, free: 5.152 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.568, allocations: 3.022 MB / 1.497 GB, free: 1.992 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.5699, allocations: 0.8304 MB / 1.498 GB, free: 1.152 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.5705, allocations: 282.7 kB / 1.498 GB, free: 0.875 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/0.5706, allocations: 32.59 kB / 1.498 GB, free: 0.8438 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.5716, allocations: 0.5003 MB / 1.498 GB, free: 336 kB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.985e-06/0.5716, allocations: 0 / 1.498 GB, free: 336 kB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.003547/0.5751, allocations: 1.158 MB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/0.5753, allocations: 192.9 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009788/0.5763, allocations: 0.6645 MB / 1.5 GB, free: 14.26 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.812e-05/0.5763, allocations: 45.7 kB / 1.5 GB, free: 14.21 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.5767, allocations: 417 kB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.577, allocations: 289.6 kB / 1.501 GB, free: 13.51 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002517/0.5772, allocations: 150.6 kB / 1.501 GB, free: 13.36 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002233/0.5775, allocations: 390.8 kB / 1.502 GB, free: 12.96 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005219/0.578, allocations: 249.9 kB / 1.502 GB, free: 12.72 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.5786, allocations: 389.1 kB / 1.502 GB, free: 12.3 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5798, allocations: 0.6228 MB / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5798, allocations: 0 / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002028/0.5818, allocations: 0.8491 MB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.5818, allocations: 4 kB / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.5818, allocations: 0 / 1.504 GB, free: 10.8 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006222/0.5825, allocations: 84.94 kB / 1.504 GB, free: 10.71 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/0.5831, allocations: 163.7 kB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.5853, allocations: 1.535 MB / 1.505 GB, free: 8.895 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.5861, allocations: 97.56 kB / 1.505 GB, free: 8.801 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.615e-05/0.5861, allocations: 31.98 kB / 1.505 GB, free: 8.77 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.0004849/0.5866, allocations: 270 kB / 1.506 GB, free: 8.496 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.5868, allocations: 95.36 kB / 1.506 GB, free: 8.402 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.5893, allocations: 1.089 MB / 1.507 GB, free: 7.301 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.5893, allocations: 15.98 kB / 1.507 GB, free: 7.285 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.5893, allocations: 0 / 1.507 GB, free: 7.285 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.5893, allocations: 3.984 kB / 1.507 GB, free: 7.281 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.5931, allocations: 2.094 MB / 1.509 GB, free: 5.121 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5931, allocations: 4 kB / 1.509 GB, free: 5.117 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.5937, allocations: 143.8 kB / 1.509 GB, free: 4.977 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004466/0.5941, allocations: 76.78 kB / 1.509 GB, free: 4.898 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.106e-05/0.5942, allocations: 23.98 kB / 1.509 GB, free: 4.875 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002007/0.5962, allocations: 1.555 MB / 1.511 GB, free: 3.199 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5962, allocations: 0 / 1.511 GB, free: 3.199 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/0.5984, allocations: 1.026 MB / 1.512 GB, free: 2.156 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.5989, allocations: 203.2 kB / 1.512 GB, free: 1.957 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.599, allocations: 20 kB / 1.512 GB, free: 1.938 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006521/0.5996, allocations: 71.91 kB / 1.512 GB, free: 1.867 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.5998, allocations: 80.73 kB / 1.512 GB, free: 1.785 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.455e-05/0.5999, allocations: 35.98 kB / 1.512 GB, free: 1.75 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006511/0.6005, allocations: 483 kB / 1.513 GB, free: 1.285 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6005, allocations: 0 / 1.513 GB, free: 1.285 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009656/0.6015, allocations: 331.1 kB / 1.513 GB, free: 0.9609 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.004235/0.6057, allocations: 2.071 MB / 1.515 GB, free: 15.04 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001759/0.6075, allocations: 0.7886 MB / 1.516 GB, free: 14.24 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6075, allocations: 4 kB / 1.516 GB, free: 14.24 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000948/0.6084, allocations: 0.4962 MB / 1.516 GB, free: 13.73 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.6098, allocations: 320.5 kB / 1.516 GB, free: 13.44 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.6211, allocations: 6.448 MB / 1.523 GB, free: 6.82 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007247/0.6218, allocations: 1.024 MB / 1.524 GB, free: 5.77 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008998/0.6227, allocations: 275 kB / 1.524 GB, free: 5.496 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000607/0.6233, allocations: 403.3 kB / 1.524 GB, free: 5.102 MB / 1.217 GB Notification: Performance of SimCode: time 7.52e-07/0.6233, allocations: 7.938 kB / 1.524 GB, free: 5.094 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06807/0.6914, allocations: 23.29 MB / 1.547 GB, free: 14.04 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.3, allocations: 3.938 kB / 1.547 GB, free: 14.04 MB / 1.248 GB " [Timeout remaining time 285] (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.90581548800037]