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.001604/0.001604, allocations: 109 kB / 16.45 MB, free: 6.508 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.001895/0.001895, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.454/1.454, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.155/3.155, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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.002022/0.002022, allocations: 73.83 kB / 1.149 GB, free: 26.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 176.1 MB / 1.321 GB, free: 3.41 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007327/0.3374, allocations: 4.987 MB / 1.326 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1793/0.5168, allocations: 154 MB / 1.476 GB, free: 3.77 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000947/0.5177, allocations: 23.81 kB / 1.476 GB, free: 3.746 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.000819/0.5185, allocations: 206.1 kB / 1.476 GB, free: 3.543 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002259/0.5208, allocations: 0.5711 MB / 1.477 GB, free: 2.973 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.5231, allocations: 0.8775 MB / 1.478 GB, free: 2.102 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001861/0.5249, allocations: 1.443 MB / 1.479 GB, free: 0.6523 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008572/0.5258, allocations: 437.5 kB / 1.48 GB, free: 204 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008737/0.5266, allocations: 0.5217 MB / 1.48 GB, free: 15.68 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008983/0.5275, allocations: 0.529 MB / 1.481 GB, free: 15.14 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.5278, allocations: 116 kB / 1.481 GB, free: 15.03 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.5289, allocations: 0.5152 MB / 1.481 GB, free: 14.52 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003602/0.5293, allocations: 311 kB / 1.481 GB, free: 14.21 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000726/0.53, allocations: 0.5752 MB / 1.482 GB, free: 13.63 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.5326, allocations: 1.712 MB / 1.484 GB, free: 11.91 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.5326, allocations: 0 / 1.484 GB, free: 11.91 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.295e-06/0.5326, allocations: 0 / 1.484 GB, free: 11.91 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.878e-05/0.5327, allocations: 0 / 1.484 GB, free: 11.91 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.003209/0.5359, allocations: 1.534 MB / 1.485 GB, free: 10.33 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5359, allocations: 19.98 kB / 1.485 GB, free: 10.31 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000207/0.5361, allocations: 139.6 kB / 1.485 GB, free: 10.17 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.5381, allocations: 287.9 kB / 1.486 GB, free: 9.887 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.5397, allocations: 0.7902 MB / 1.486 GB, free: 9.055 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.5398, allocations: 66 kB / 1.486 GB, free: 8.988 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001521/0.5399, allocations: 84 kB / 1.487 GB, free: 8.906 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/0.5419, allocations: 0.9833 MB / 1.487 GB, free: 7.875 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.5419, allocations: 3.938 kB / 1.487 GB, free: 7.871 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.875e-05/0.542, allocations: 40 kB / 1.488 GB, free: 7.832 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.542, allocations: 20 kB / 1.488 GB, free: 7.812 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.5443, allocations: 1.167 MB / 1.489 GB, free: 6.641 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004942/0.5492, allocations: 3.076 MB / 1.492 GB, free: 3.422 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.5512, allocations: 0.9045 MB / 1.493 GB, free: 2.492 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006014/0.5518, allocations: 278.7 kB / 1.493 GB, free: 2.211 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.44e-05/0.5519, allocations: 36.59 kB / 1.493 GB, free: 2.176 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009553/0.5528, allocations: 0.5018 MB / 1.493 GB, free: 1.656 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.164e-06/0.5528, allocations: 3.938 kB / 1.493 GB, free: 1.652 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.00354/0.5564, allocations: 1.236 MB / 1.495 GB, free: 404 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.5565, allocations: 188.9 kB / 1.495 GB, free: 172 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.5575, allocations: 0.6606 MB / 1.495 GB, free: 15.5 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 8.219e-05/0.5576, allocations: 41.7 kB / 1.495 GB, free: 15.45 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.558, allocations: 425 kB / 1.496 GB, free: 15.03 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002666/0.5582, allocations: 285.5 kB / 1.496 GB, free: 14.75 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.5585, allocations: 154.6 kB / 1.496 GB, free: 14.59 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.5587, allocations: 390.8 kB / 1.497 GB, free: 14.2 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000586/0.5593, allocations: 253.9 kB / 1.497 GB, free: 13.95 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006986/0.56, allocations: 385.1 kB / 1.497 GB, free: 13.54 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/0.5612, allocations: 0.6228 MB / 1.498 GB, free: 12.89 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5612, allocations: 0 / 1.498 GB, free: 12.89 MB / 1.201 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002168/0.5634, allocations: 0.8452 MB / 1.499 GB, free: 12.04 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.5634, allocations: 4 kB / 1.499 GB, free: 12.04 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5634, allocations: 4 kB / 1.499 GB, free: 12.04 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006395/0.5641, allocations: 92.88 kB / 1.499 GB, free: 11.94 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.5648, allocations: 159.8 kB / 1.499 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.5671, allocations: 1.638 MB / 1.501 GB, free: 9.996 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007679/0.5679, allocations: 87.52 kB / 1.501 GB, free: 9.91 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.381e-05/0.5679, allocations: 35.98 kB / 1.501 GB, free: 9.875 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.0004711/0.5684, allocations: 269.8 kB / 1.501 GB, free: 9.602 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.5686, allocations: 95.38 kB / 1.501 GB, free: 9.508 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.5712, allocations: 1.085 MB / 1.502 GB, free: 8.41 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.5712, allocations: 8 kB / 1.502 GB, free: 8.402 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.5712, allocations: 4 kB / 1.502 GB, free: 8.398 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.5712, allocations: 3.984 kB / 1.502 GB, free: 8.395 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.5752, allocations: 2.115 MB / 1.504 GB, free: 6.203 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5752, allocations: 3.938 kB / 1.504 GB, free: 6.199 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006165/0.5758, allocations: 155.8 kB / 1.504 GB, free: 6.047 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.5762, allocations: 72.78 kB / 1.504 GB, free: 5.973 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.705e-05/0.5763, allocations: 23.98 kB / 1.504 GB, free: 5.949 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002134/0.5784, allocations: 1.666 MB / 1.506 GB, free: 4.141 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5784, allocations: 0 / 1.506 GB, free: 4.141 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/0.5807, allocations: 1.018 MB / 1.507 GB, free: 3.105 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.5812, allocations: 284.2 kB / 1.507 GB, free: 2.809 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5813, allocations: 23.95 kB / 1.507 GB, free: 2.785 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006858/0.582, allocations: 59.92 kB / 1.507 GB, free: 2.727 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.5822, allocations: 76.84 kB / 1.507 GB, free: 2.652 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/0.5823, allocations: 39.97 kB / 1.507 GB, free: 2.613 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006712/0.583, allocations: 479 kB / 1.508 GB, free: 2.152 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.583, allocations: 4 kB / 1.508 GB, free: 2.148 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009787/0.5839, allocations: 331.1 kB / 1.508 GB, free: 1.824 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.004605/0.5885, allocations: 2.06 MB / 1.51 GB, free: 15.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002007/0.5905, allocations: 0.7922 MB / 1.511 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5906, allocations: 0 / 1.511 GB, free: 15.11 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.5916, allocations: 0.5083 MB / 1.512 GB, free: 14.59 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.5931, allocations: 325.8 kB / 1.512 GB, free: 14.29 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01225/0.6054, allocations: 6.439 MB / 1.518 GB, free: 7.684 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007246/0.6061, allocations: 1.039 MB / 1.519 GB, free: 6.617 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009342/0.607, allocations: 267.1 kB / 1.519 GB, free: 6.352 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/0.6077, allocations: 407.2 kB / 1.52 GB, free: 5.953 MB / 1.217 GB Notification: Performance of SimCode: time 1.102e-06/0.6077, allocations: 0 / 1.52 GB, free: 5.953 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06768/0.6754, allocations: 22.68 MB / 1.542 GB, free: 15.54 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.96, allocations: 21.88 kB / 1.542 GB, free: 15.52 MB / 1.248 GB " [Timeout remaining time 286] (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: 20.70681982091628]