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.001847/0.001847, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002348/0.002348, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.086/3.086, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 MB / 0.6231 GB " [Timeout remaining time 177] 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.002211/0.002211, allocations: 69.12 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3543, allocations: 179 MB / 1.345 GB, free: 448 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007351/0.3617, allocations: 5.015 MB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1834/0.545, allocations: 154.2 MB / 1.501 GB, free: 0.6328 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008768/0.5459, allocations: 23.81 kB / 1.501 GB, free: 0.6094 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.000793/0.5467, allocations: 214.1 kB / 1.501 GB, free: 408 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.5488, allocations: 0.5622 MB / 1.502 GB, free: 15.83 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002337/0.5511, allocations: 0.8958 MB / 1.502 GB, free: 14.94 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002105/0.5532, allocations: 1.447 MB / 1.504 GB, free: 13.49 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009583/0.5542, allocations: 434.1 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009639/0.5551, allocations: 0.5217 MB / 1.505 GB, free: 12.52 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009153/0.5561, allocations: 0.5328 MB / 1.505 GB, free: 11.99 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.5564, allocations: 120 kB / 1.505 GB, free: 11.87 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.5576, allocations: 0.5074 MB / 1.506 GB, free: 11.36 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004143/0.558, allocations: 315 kB / 1.506 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007912/0.5588, allocations: 0.5791 MB / 1.507 GB, free: 10.47 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002692/0.5615, allocations: 1.704 MB / 1.508 GB, free: 8.762 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.361e-06/0.5615, allocations: 0 / 1.508 GB, free: 8.762 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.994e-06/0.5615, allocations: 0 / 1.508 GB, free: 8.762 MB / 1.201 GB Notification: Performance of Transformations before backend: time 3.583e-05/0.5616, allocations: 4 kB / 1.508 GB, free: 8.758 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.003058/0.5646, allocations: 1.459 MB / 1.51 GB, free: 7.258 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.5647, allocations: 12.03 kB / 1.51 GB, free: 7.246 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.302e-05/0.5647, allocations: 30.19 kB / 1.51 GB, free: 7.219 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001757/0.5649, allocations: 139.6 kB / 1.51 GB, free: 7.074 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.5667, allocations: 287.9 kB / 1.51 GB, free: 6.793 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.5682, allocations: 0.7178 MB / 1.511 GB, free: 6.047 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.506e-05/0.5683, allocations: 73.98 kB / 1.511 GB, free: 5.973 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.5685, allocations: 84 kB / 1.511 GB, free: 5.891 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.5705, allocations: 0.9911 MB / 1.512 GB, free: 4.852 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.5705, allocations: 3.938 kB / 1.512 GB, free: 4.848 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.5706, allocations: 36 kB / 1.512 GB, free: 4.812 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.5706, allocations: 20 kB / 1.512 GB, free: 4.793 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.5729, allocations: 1.163 MB / 1.513 GB, free: 3.629 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005235/0.5781, allocations: 3.01 MB / 1.516 GB, free: 492 kB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/0.5801, allocations: 0.8262 MB / 1.517 GB, free: 15.65 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.5807, allocations: 280.8 kB / 1.517 GB, free: 15.37 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 9.17e-05/0.5808, allocations: 36.59 kB / 1.517 GB, free: 15.34 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009716/0.5818, allocations: 0.5018 MB / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of pre-optimization done (n=83): time 3.106e-06/0.5818, allocations: 0 / 1.518 GB, free: 14.82 MB / 1.217 GB Notification: Performance of matching and sorting (n=83): time 0.00352/0.5853, allocations: 1.16 MB / 1.519 GB, free: 13.65 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.5854, allocations: 188.9 kB / 1.519 GB, free: 13.42 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.5865, allocations: 0.6645 MB / 1.52 GB, free: 12.75 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.5867, allocations: 41.7 kB / 1.52 GB, free: 12.7 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004147/0.5871, allocations: 429 kB / 1.52 GB, free: 12.27 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.5874, allocations: 273.7 kB / 1.521 GB, free: 12 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.5877, allocations: 154.6 kB / 1.521 GB, free: 11.85 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.5879, allocations: 394.8 kB / 1.521 GB, free: 11.45 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005761/0.5885, allocations: 253.9 kB / 1.521 GB, free: 11.2 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.5892, allocations: 389.1 kB / 1.522 GB, free: 10.79 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.5904, allocations: 0.6228 MB / 1.522 GB, free: 10.15 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5904, allocations: 0 / 1.522 GB, free: 10.15 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002209/0.5926, allocations: 0.849 MB / 1.523 GB, free: 9.285 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.5927, allocations: 8 kB / 1.523 GB, free: 9.277 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5927, allocations: 3.984 kB / 1.523 GB, free: 9.273 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006006/0.5933, allocations: 80.97 kB / 1.523 GB, free: 9.191 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006812/0.5939, allocations: 163.8 kB / 1.523 GB, free: 9.031 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.5962, allocations: 1.542 MB / 1.525 GB, free: 7.375 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008094/0.597, allocations: 95.53 kB / 1.525 GB, free: 7.281 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5971, allocations: 31.97 kB / 1.525 GB, free: 7.25 MB / 1.217 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.0005341/0.5976, allocations: 261.7 kB / 1.525 GB, free: 6.984 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.5979, allocations: 91.38 kB / 1.525 GB, free: 6.895 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.6005, allocations: 1.085 MB / 1.526 GB, free: 5.797 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/0.6005, allocations: 8 kB / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.6005, allocations: 0 / 1.526 GB, free: 5.789 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.6005, allocations: 11.95 kB / 1.526 GB, free: 5.777 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.6047, allocations: 2.098 MB / 1.528 GB, free: 3.613 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6047, allocations: 4 kB / 1.528 GB, free: 3.609 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.6053, allocations: 151.8 kB / 1.529 GB, free: 3.461 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/0.6057, allocations: 68.78 kB / 1.529 GB, free: 3.391 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.484e-05/0.6058, allocations: 27.98 kB / 1.529 GB, free: 3.363 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.6079, allocations: 1.555 MB / 1.53 GB, free: 1.684 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.6079, allocations: 0 / 1.53 GB, free: 1.684 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.6103, allocations: 1.026 MB / 1.531 GB, free: 0.6406 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.6109, allocations: 207 kB / 1.531 GB, free: 448 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.6111, allocations: 20 kB / 1.531 GB, free: 428 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007933/0.6119, allocations: 59.94 kB / 1.531 GB, free: 368 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.6121, allocations: 80.78 kB / 1.532 GB, free: 284 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/0.6122, allocations: 35.98 kB / 1.532 GB, free: 248 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0008067/0.613, allocations: 483 kB / 1.532 GB, free: 15.78 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.01e-07/0.613, allocations: 0 / 1.532 GB, free: 15.78 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00111/0.6141, allocations: 331.2 kB / 1.532 GB, free: 15.45 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.00462/0.6188, allocations: 2.068 MB / 1.534 GB, free: 13.54 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002086/0.6208, allocations: 0.7883 MB / 1.535 GB, free: 12.73 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6208, allocations: 4 kB / 1.535 GB, free: 12.73 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.622, allocations: 0.5044 MB / 1.536 GB, free: 12.22 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.6237, allocations: 325.8 kB / 1.536 GB, free: 11.92 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.6369, allocations: 6.437 MB / 1.542 GB, free: 5.316 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009014/0.6378, allocations: 1.035 MB / 1.543 GB, free: 4.254 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001062/0.6389, allocations: 282.9 kB / 1.543 GB, free: 3.973 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007566/0.6397, allocations: 399.3 kB / 1.544 GB, free: 3.582 MB / 1.232 GB Notification: Performance of SimCode: time 1.162e-06/0.6397, allocations: 0 / 1.544 GB, free: 3.582 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09064/0.7303, allocations: 23.31 MB / 1.567 GB, free: 12.48 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.25, allocations: 1.891 kB / 1.567 GB, free: 12.48 MB / 1.264 GB " [Timeout remaining time 284] (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.00148024596274]