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.001598/0.001598, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001902/0.001902, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 8.02 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.225/3.225, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.002045/0.002045, allocations: 68.69 kB / 1.177 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3371, allocations: 180.2 MB / 1.353 GB, free: 8.527 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007327/0.3445, allocations: 5.028 MB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1796/0.5241, allocations: 154.2 MB / 1.508 GB, free: 8.715 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.5249, allocations: 23.81 kB / 1.508 GB, free: 8.691 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007441/0.5257, allocations: 198.2 kB / 1.508 GB, free: 8.496 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002201/0.5279, allocations: 0.5825 MB / 1.509 GB, free: 7.914 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.5303, allocations: 0.8898 MB / 1.51 GB, free: 7.031 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002108/0.5324, allocations: 1.455 MB / 1.511 GB, free: 5.57 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009514/0.5333, allocations: 438 kB / 1.512 GB, free: 5.117 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.5343, allocations: 0.5178 MB / 1.512 GB, free: 4.598 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008851/0.5352, allocations: 0.5251 MB / 1.513 GB, free: 4.07 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002715/0.5355, allocations: 120 kB / 1.513 GB, free: 3.953 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001187/0.5367, allocations: 0.5152 MB / 1.513 GB, free: 3.438 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.5371, allocations: 307 kB / 1.514 GB, free: 3.137 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007224/0.5378, allocations: 0.5752 MB / 1.514 GB, free: 2.559 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002521/0.5403, allocations: 1.716 MB / 1.516 GB, free: 0.8359 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.5403, allocations: 4 kB / 1.516 GB, free: 0.832 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5403, allocations: 0 / 1.516 GB, free: 0.832 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.421e-05/0.5404, allocations: 0 / 1.516 GB, free: 0.832 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.002913/0.5433, allocations: 1.456 MB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5433, allocations: 8.031 kB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.5435, allocations: 139.7 kB / 1.518 GB, free: 15.19 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001807/0.5453, allocations: 283.9 kB / 1.518 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.5468, allocations: 0.7219 MB / 1.518 GB, free: 14.16 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.133e-05/0.5468, allocations: 66 kB / 1.519 GB, free: 14.1 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.547, allocations: 87.98 kB / 1.519 GB, free: 14.01 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.5487, allocations: 0.9833 MB / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.5487, allocations: 0 / 1.52 GB, free: 12.98 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.569e-05/0.5488, allocations: 40 kB / 1.52 GB, free: 12.94 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.5488, allocations: 20 kB / 1.52 GB, free: 12.92 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002028/0.5508, allocations: 1.171 MB / 1.521 GB, free: 11.75 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004738/0.5555, allocations: 3.018 MB / 1.524 GB, free: 8.59 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.5574, allocations: 0.8262 MB / 1.525 GB, free: 7.754 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.5579, allocations: 286.7 kB / 1.525 GB, free: 7.469 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.911e-05/0.558, allocations: 24.62 kB / 1.525 GB, free: 7.445 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009563/0.559, allocations: 0.5057 MB / 1.525 GB, free: 6.922 MB / 1.217 GB Notification: Performance of pre-optimization done (n=83): time 7.023e-06/0.559, allocations: 3.984 kB / 1.525 GB, free: 6.918 MB / 1.217 GB Notification: Performance of matching and sorting (n=83): time 0.003359/0.5623, allocations: 1.164 MB / 1.526 GB, free: 5.75 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.5625, allocations: 188.9 kB / 1.527 GB, free: 5.523 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5635, allocations: 0.6645 MB / 1.527 GB, free: 4.852 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.5636, allocations: 45.64 kB / 1.527 GB, free: 4.801 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003863/0.564, allocations: 421 kB / 1.528 GB, free: 4.383 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.5642, allocations: 281.6 kB / 1.528 GB, free: 4.105 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000244/0.5645, allocations: 158.6 kB / 1.528 GB, free: 3.941 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.5647, allocations: 386.8 kB / 1.529 GB, free: 3.555 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.5652, allocations: 253.9 kB / 1.529 GB, free: 3.309 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006874/0.5659, allocations: 389.1 kB / 1.529 GB, free: 2.891 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5671, allocations: 0.6228 MB / 1.53 GB, free: 2.246 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5671, allocations: 0 / 1.53 GB, free: 2.246 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002101/0.5692, allocations: 0.849 MB / 1.531 GB, free: 1.391 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5692, allocations: 4 kB / 1.531 GB, free: 1.387 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5693, allocations: 4 kB / 1.531 GB, free: 1.383 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006486/0.5699, allocations: 84.95 kB / 1.531 GB, free: 1.297 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.5706, allocations: 159.7 kB / 1.531 GB, free: 1.141 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.5729, allocations: 1.529 MB / 1.532 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008831/0.5738, allocations: 95.56 kB / 1.532 GB, free: 15.4 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.5739, allocations: 35.98 kB / 1.532 GB, free: 15.36 MB / 1.232 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.0005585/0.5745, allocations: 273.7 kB / 1.533 GB, free: 15.09 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.5747, allocations: 91.44 kB / 1.533 GB, free: 15 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002551/0.5773, allocations: 1.093 MB / 1.534 GB, free: 13.89 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5773, allocations: 8 kB / 1.534 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5773, allocations: 0 / 1.534 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.5773, allocations: 3.984 kB / 1.534 GB, free: 13.88 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004125/0.5814, allocations: 2.087 MB / 1.536 GB, free: 11.72 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.5814, allocations: 4 kB / 1.536 GB, free: 11.72 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006353/0.5821, allocations: 155.7 kB / 1.536 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004511/0.5825, allocations: 64.8 kB / 1.536 GB, free: 11.5 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/0.5826, allocations: 31.97 kB / 1.536 GB, free: 11.47 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00202/0.5846, allocations: 1.555 MB / 1.538 GB, free: 9.793 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5846, allocations: 0 / 1.538 GB, free: 9.793 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.5868, allocations: 1.026 MB / 1.539 GB, free: 8.75 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.5874, allocations: 206.9 kB / 1.539 GB, free: 8.547 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.5875, allocations: 20.06 kB / 1.539 GB, free: 8.527 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.5883, allocations: 69.89 kB / 1.539 GB, free: 8.461 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.5884, allocations: 80.8 kB / 1.539 GB, free: 8.383 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.5885, allocations: 35.97 kB / 1.539 GB, free: 8.348 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006804/0.5892, allocations: 483 kB / 1.54 GB, free: 7.883 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5892, allocations: 0 / 1.54 GB, free: 7.883 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001003/0.5902, allocations: 331.2 kB / 1.54 GB, free: 7.559 MB / 1.232 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.004372/0.5946, allocations: 2.074 MB / 1.542 GB, free: 5.637 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001774/0.5963, allocations: 0.796 MB / 1.543 GB, free: 4.828 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5963, allocations: 4 kB / 1.543 GB, free: 4.824 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0009566/0.5973, allocations: 0.4966 MB / 1.543 GB, free: 4.312 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/0.5986, allocations: 315.5 kB / 1.543 GB, free: 4.023 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.6098, allocations: 6.432 MB / 1.55 GB, free: 13.42 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.6105, allocations: 1.035 MB / 1.551 GB, free: 12.36 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008922/0.6114, allocations: 275 kB / 1.551 GB, free: 12.08 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/0.612, allocations: 399.3 kB / 1.551 GB, free: 11.69 MB / 1.248 GB Notification: Performance of SimCode: time 1.102e-06/0.612, allocations: 0 / 1.551 GB, free: 11.69 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06892/0.6809, allocations: 23.29 MB / 1.574 GB, free: 4.613 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.21, allocations: 3.984 kB / 1.574 GB, free: 4.609 MB / 1.264 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 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.mat","/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: 22.123188839061186]