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.001324/0.001324, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001677/0.001677, allocations: 215 kB / 20.13 MB, free: 2.949 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.491/1.491, allocations: 230.6 MB / 253.5 MB, free: 15.13 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.026/3.026, allocations: 0.5003 GB / 0.8026 GB, free: 6.746 MB / 0.6387 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="cs",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.001966/0.001966, allocations: 63.91 kB / 1.165 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8915/0.8934, allocations: 178.9 MB / 1.34 GB, free: 16.3 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006473/0.8999, allocations: 4.999 MB / 1.345 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.2456/1.146, allocations: 154 MB / 1.495 GB, free: 8.254 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/1.147, allocations: 24 kB / 1.495 GB, free: 8.242 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008518/1.148, allocations: 194.8 kB / 1.496 GB, free: 8.07 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002755/1.151, allocations: 0.5844 MB / 1.496 GB, free: 7.629 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002747/1.153, allocations: 0.8712 MB / 1.497 GB, free: 6.969 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002384/1.156, allocations: 1.447 MB / 1.498 GB, free: 6.066 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009143/1.157, allocations: 440.8 kB / 1.499 GB, free: 5.688 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001026/1.158, allocations: 0.5295 MB / 1.499 GB, free: 5.156 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007513/1.158, allocations: 0.529 MB / 1.5 GB, free: 4.625 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/1.159, allocations: 120 kB / 1.5 GB, free: 4.508 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/1.16, allocations: 0.5113 MB / 1.501 GB, free: 3.996 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/1.16, allocations: 303 kB / 1.501 GB, free: 3.699 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000614/1.161, allocations: 0.583 MB / 1.501 GB, free: 3.113 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/1.163, allocations: 1.708 MB / 1.503 GB, free: 1.398 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.163, allocations: 0 / 1.503 GB, free: 1.398 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.874e-06/1.163, allocations: 4 kB / 1.503 GB, free: 1.395 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.829e-05/1.163, allocations: 0 / 1.503 GB, free: 1.395 MB / 1.17 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.003249/1.167, allocations: 1.53 MB / 1.505 GB, free: 15.81 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/1.167, allocations: 12.03 kB / 1.505 GB, free: 15.8 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.34e-05/1.167, allocations: 22.19 kB / 1.505 GB, free: 15.78 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001747/1.167, allocations: 139.7 kB / 1.505 GB, free: 15.63 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/1.169, allocations: 283.9 kB / 1.505 GB, free: 15.36 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001376/1.17, allocations: 0.7977 MB / 1.506 GB, free: 14.52 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/1.17, allocations: 69.98 kB / 1.506 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.17, allocations: 80 kB / 1.506 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/1.172, allocations: 0.9872 MB / 1.507 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/1.172, allocations: 0 / 1.507 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.294e-05/1.173, allocations: 36 kB / 1.507 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/1.173, allocations: 20 kB / 1.507 GB, free: 13.28 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/1.175, allocations: 1.167 MB / 1.508 GB, free: 12.11 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005089/1.18, allocations: 3.063 MB / 1.511 GB, free: 8.906 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/1.182, allocations: 0.9016 MB / 1.512 GB, free: 7.984 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005765/1.182, allocations: 300.8 kB / 1.512 GB, free: 7.691 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.881e-05/1.182, allocations: 28.61 kB / 1.512 GB, free: 7.664 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009676/1.183, allocations: 0.4979 MB / 1.513 GB, free: 7.152 MB / 1.186 GB Notification: Performance of pre-optimization done (n=83): time 2.815e-06/1.183, allocations: 0 / 1.513 GB, free: 7.152 MB / 1.186 GB Notification: Performance of matching and sorting (n=83): time 0.003637/1.187, allocations: 1.236 MB / 1.514 GB, free: 5.891 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/1.187, allocations: 196.9 kB / 1.514 GB, free: 5.656 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/1.188, allocations: 0.6606 MB / 1.515 GB, free: 4.984 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/1.188, allocations: 41.7 kB / 1.515 GB, free: 4.938 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/1.189, allocations: 425 kB / 1.515 GB, free: 4.516 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/1.189, allocations: 281.6 kB / 1.515 GB, free: 4.238 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/1.189, allocations: 150.6 kB / 1.516 GB, free: 4.086 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002208/1.189, allocations: 390.8 kB / 1.516 GB, free: 3.695 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005523/1.19, allocations: 257.9 kB / 1.516 GB, free: 3.441 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/1.191, allocations: 389.1 kB / 1.517 GB, free: 3.027 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/1.192, allocations: 0.6189 MB / 1.517 GB, free: 2.387 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.192, allocations: 4 kB / 1.517 GB, free: 2.383 MB / 1.186 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002193/1.194, allocations: 0.8451 MB / 1.518 GB, free: 1.527 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/1.194, allocations: 8 kB / 1.518 GB, free: 1.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.194, allocations: 0 / 1.518 GB, free: 1.52 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006521/1.195, allocations: 84.95 kB / 1.518 GB, free: 1.434 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007114/1.196, allocations: 155.8 kB / 1.518 GB, free: 1.281 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/1.198, allocations: 1.643 MB / 1.52 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008865/1.199, allocations: 92.88 kB / 1.52 GB, free: 15.4 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.877e-05/1.199, allocations: 35.98 kB / 1.52 GB, free: 15.36 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.0005868/1.2, allocations: 269.7 kB / 1.52 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/1.2, allocations: 91.44 kB / 1.52 GB, free: 15 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/1.202, allocations: 1.089 MB / 1.521 GB, free: 13.9 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/1.202, allocations: 8 kB / 1.521 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/1.202, allocations: 0 / 1.521 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.202, allocations: 3.984 kB / 1.521 GB, free: 13.89 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/1.206, allocations: 2.123 MB / 1.523 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.206, allocations: 0 / 1.523 GB, free: 11.69 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000622/1.207, allocations: 147.8 kB / 1.524 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000474/1.207, allocations: 76.72 kB / 1.524 GB, free: 11.47 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.526e-05/1.208, allocations: 23.98 kB / 1.524 GB, free: 11.45 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/1.21, allocations: 1.658 MB / 1.525 GB, free: 9.641 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.21, allocations: 0 / 1.525 GB, free: 9.641 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/1.212, allocations: 1.014 MB / 1.526 GB, free: 8.605 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004764/1.213, allocations: 296 kB / 1.527 GB, free: 8.297 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/1.213, allocations: 23.98 kB / 1.527 GB, free: 8.273 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/1.213, allocations: 68.06 kB / 1.527 GB, free: 8.207 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/1.214, allocations: 72.83 kB / 1.527 GB, free: 8.137 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.811e-05/1.214, allocations: 35.98 kB / 1.527 GB, free: 8.102 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007596/1.214, allocations: 479 kB / 1.527 GB, free: 7.641 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/1.214, allocations: 0 / 1.527 GB, free: 7.641 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001126/1.216, allocations: 331.2 kB / 1.528 GB, free: 7.316 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.004671/1.22, allocations: 2.069 MB / 1.53 GB, free: 5.398 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00203/1.222, allocations: 0.7964 MB / 1.53 GB, free: 4.59 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/1.222, allocations: 4 kB / 1.53 GB, free: 4.586 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/1.223, allocations: 0.4924 MB / 1.531 GB, free: 4.082 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/1.225, allocations: 312.5 kB / 1.531 GB, free: 3.793 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01158/1.236, allocations: 6.447 MB / 1.537 GB, free: 13.18 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007433/1.237, allocations: 1.039 MB / 1.538 GB, free: 12.12 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009018/1.238, allocations: 279 kB / 1.539 GB, free: 11.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006446/1.239, allocations: 407.2 kB / 1.539 GB, free: 11.44 MB / 1.217 GB Notification: Performance of SimCode: time 1.052e-06/1.239, allocations: 0 / 1.539 GB, free: 11.44 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05705/1.296, allocations: 22.73 MB / 1.561 GB, free: 5.031 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/15.02, allocations: 8.047 kB / 1.561 GB, free: 5.023 MB / 1.232 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: 21.74249872501241]