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.001744/0.001744, allocations: 113 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.002265/0.002265, allocations: 208 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.012 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.218/3.218, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] 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.002035/0.002035, allocations: 69.73 kB / 1.154 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 176.1 MB / 1.326 GB, free: 1.988 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007612/0.3334, allocations: 5.03 MB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1787/0.5121, allocations: 154.2 MB / 1.481 GB, free: 2.184 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008754/0.513, allocations: 23.81 kB / 1.481 GB, free: 2.16 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007766/0.5137, allocations: 202.1 kB / 1.482 GB, free: 1.961 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002101/0.5158, allocations: 0.5749 MB / 1.482 GB, free: 1.387 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.5181, allocations: 0.906 MB / 1.483 GB, free: 496 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002117/0.5203, allocations: 1.451 MB / 1.484 GB, free: 15.03 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009665/0.5212, allocations: 422.1 kB / 1.485 GB, free: 14.59 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009574/0.5222, allocations: 0.5294 MB / 1.485 GB, free: 14.06 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008981/0.5231, allocations: 0.5251 MB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.5234, allocations: 123.9 kB / 1.486 GB, free: 13.41 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.5246, allocations: 0.5074 MB / 1.486 GB, free: 12.9 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.525, allocations: 314.9 kB / 1.487 GB, free: 12.59 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0008172/0.5259, allocations: 0.583 MB / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002816/0.5287, allocations: 1.704 MB / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.5287, allocations: 0 / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5287, allocations: 0 / 1.489 GB, free: 10.3 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.028e-05/0.5287, allocations: 0 / 1.489 GB, free: 10.3 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.003202/0.5319, allocations: 1.459 MB / 1.49 GB, free: 8.805 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.532, allocations: 11.97 kB / 1.49 GB, free: 8.793 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002108/0.5322, allocations: 143.6 kB / 1.491 GB, free: 8.645 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.534, allocations: 283.9 kB / 1.491 GB, free: 8.367 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001478/0.5355, allocations: 0.7297 MB / 1.492 GB, free: 7.605 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.5356, allocations: 66 kB / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.5357, allocations: 84 kB / 1.492 GB, free: 7.457 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.5376, allocations: 0.9785 MB / 1.493 GB, free: 6.434 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/0.5376, allocations: 7.922 kB / 1.493 GB, free: 6.426 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-05/0.5377, allocations: 40 kB / 1.493 GB, free: 6.387 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/0.5377, allocations: 20 kB / 1.493 GB, free: 6.367 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.5398, allocations: 1.159 MB / 1.494 GB, free: 5.203 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004814/0.5446, allocations: 3.022 MB / 1.497 GB, free: 2.043 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.5464, allocations: 0.8257 MB / 1.498 GB, free: 1.211 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005649/0.547, allocations: 282.7 kB / 1.498 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/0.5471, allocations: 32.61 kB / 1.498 GB, free: 0.9023 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009146/0.548, allocations: 0.5079 MB / 1.498 GB, free: 388 kB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.455e-06/0.548, allocations: 0 / 1.498 GB, free: 388 kB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.003368/0.5514, allocations: 1.158 MB / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.5515, allocations: 196.8 kB / 1.5 GB, free: 14.98 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009847/0.5525, allocations: 0.6606 MB / 1.5 GB, free: 14.31 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.5526, allocations: 45.69 kB / 1.5 GB, free: 14.26 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.553, allocations: 425 kB / 1.501 GB, free: 13.84 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002714/0.5532, allocations: 277.6 kB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002451/0.5535, allocations: 154.6 kB / 1.501 GB, free: 13.41 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.5537, allocations: 390.7 kB / 1.502 GB, free: 13.02 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005574/0.5543, allocations: 253.9 kB / 1.502 GB, free: 12.77 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/0.5549, allocations: 381.1 kB / 1.502 GB, free: 12.36 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.5561, allocations: 0.6306 MB / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5561, allocations: 0 / 1.503 GB, free: 11.71 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002153/0.5583, allocations: 0.8374 MB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5583, allocations: 4 kB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5583, allocations: 4.188 kB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006614/0.559, allocations: 88.7 kB / 1.504 GB, free: 10.77 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006943/0.5597, allocations: 155.8 kB / 1.504 GB, free: 10.61 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.562, allocations: 1.539 MB / 1.505 GB, free: 8.953 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008272/0.5628, allocations: 99.53 kB / 1.505 GB, free: 8.855 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.935e-05/0.5629, allocations: 31.97 kB / 1.505 GB, free: 8.824 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.0005678/0.5635, allocations: 265.9 kB / 1.506 GB, free: 8.555 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002396/0.5637, allocations: 87.44 kB / 1.506 GB, free: 8.469 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002578/0.5663, allocations: 1.093 MB / 1.507 GB, free: 7.363 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.5663, allocations: 12 kB / 1.507 GB, free: 7.352 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5663, allocations: 0 / 1.507 GB, free: 7.352 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.5663, allocations: 7.984 kB / 1.507 GB, free: 7.344 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004191/0.5705, allocations: 2.102 MB / 1.509 GB, free: 5.176 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.5705, allocations: 0 / 1.509 GB, free: 5.176 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006308/0.5712, allocations: 147.8 kB / 1.509 GB, free: 5.031 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.5716, allocations: 76.78 kB / 1.509 GB, free: 4.953 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.267e-05/0.5717, allocations: 23.98 kB / 1.509 GB, free: 4.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/0.5738, allocations: 1.559 MB / 1.511 GB, free: 3.25 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.5738, allocations: 0 / 1.511 GB, free: 3.25 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.5761, allocations: 1.018 MB / 1.512 GB, free: 2.215 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005741/0.5767, allocations: 215 kB / 1.512 GB, free: 2.004 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.5769, allocations: 16 kB / 1.512 GB, free: 1.988 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.5776, allocations: 63.88 kB / 1.512 GB, free: 1.926 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.5778, allocations: 88.78 kB / 1.512 GB, free: 1.836 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.805e-05/0.5779, allocations: 35.98 kB / 1.512 GB, free: 1.801 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007642/0.5787, allocations: 479 kB / 1.513 GB, free: 1.34 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.5787, allocations: 0 / 1.513 GB, free: 1.34 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009747/0.5797, allocations: 327.1 kB / 1.513 GB, free: 1.02 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.004581/0.5842, allocations: 2.074 MB / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.5862, allocations: 0.7882 MB / 1.516 GB, free: 14.3 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.5862, allocations: 4.312 kB / 1.516 GB, free: 14.29 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.5872, allocations: 0.5002 MB / 1.516 GB, free: 13.79 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.5887, allocations: 317.5 kB / 1.516 GB, free: 13.49 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/0.6005, allocations: 6.44 MB / 1.523 GB, free: 6.883 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007686/0.6012, allocations: 1.035 MB / 1.524 GB, free: 5.82 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009406/0.6022, allocations: 283 kB / 1.524 GB, free: 5.539 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/0.6028, allocations: 399.3 kB / 1.524 GB, free: 5.148 MB / 1.217 GB Notification: Performance of SimCode: time 8.01e-07/0.6028, allocations: 0 / 1.524 GB, free: 5.148 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06815/0.671, allocations: 23.29 MB / 1.547 GB, free: 14.1 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.17, allocations: 0.75 kB / 1.547 GB, free: 14.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_12_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 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.mat","/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: 22.03006763383746]