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.001682/0.001682, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002089/0.002089, allocations: 212 kB / 22.24 MB, free: 5.262 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.742 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.327/3.327, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.00208/0.00208, allocations: 67.67 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3332, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007633/0.3408, allocations: 4.483 MB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1676/0.5084, allocations: 132.7 MB / 1.497 GB, free: 4.402 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000849/0.5093, allocations: 23.81 kB / 1.497 GB, free: 4.379 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.5099, allocations: 202.2 kB / 1.498 GB, free: 4.18 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001822/0.5117, allocations: 0.5843 MB / 1.498 GB, free: 3.598 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.5138, allocations: 0.8668 MB / 1.499 GB, free: 2.734 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001784/0.5156, allocations: 1.451 MB / 1.5 GB, free: 1.277 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007813/0.5164, allocations: 421.9 kB / 1.501 GB, free: 0.8398 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007979/0.5172, allocations: 0.5139 MB / 1.501 GB, free: 332 kB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006991/0.5179, allocations: 485.7 kB / 1.502 GB, free: 15.85 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001962/0.518, allocations: 116 kB / 1.502 GB, free: 15.73 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.5191, allocations: 491.6 kB / 1.502 GB, free: 15.25 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003256/0.5194, allocations: 314.9 kB / 1.503 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005056/0.5199, allocations: 481.7 kB / 1.503 GB, free: 14.47 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002291/0.5222, allocations: 1.72 MB / 1.505 GB, free: 12.75 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5222, allocations: 0 / 1.505 GB, free: 12.75 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5222, allocations: 0 / 1.505 GB, free: 12.75 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.5222, allocations: 3.938 kB / 1.505 GB, free: 12.74 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.002762/0.525, allocations: 1.452 MB / 1.506 GB, free: 11.26 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.525, allocations: 8.031 kB / 1.506 GB, free: 11.25 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.5252, allocations: 143.7 kB / 1.506 GB, free: 11.1 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.5271, allocations: 283.9 kB / 1.507 GB, free: 10.82 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.5285, allocations: 0.7258 MB / 1.507 GB, free: 10.07 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/0.5286, allocations: 66 kB / 1.507 GB, free: 10 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.5287, allocations: 84 kB / 1.507 GB, free: 9.918 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.5307, allocations: 1.246 MB / 1.509 GB, free: 8.562 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.5307, allocations: 3.938 kB / 1.509 GB, free: 8.559 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.5308, allocations: 36 kB / 1.509 GB, free: 8.523 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.5308, allocations: 24 kB / 1.509 GB, free: 8.5 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.533, allocations: 1.112 MB / 1.51 GB, free: 7.387 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004612/0.5376, allocations: 2.533 MB / 1.512 GB, free: 4.777 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/0.5396, allocations: 0.8277 MB / 1.513 GB, free: 3.949 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.5402, allocations: 289.2 kB / 1.513 GB, free: 3.668 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 9.205e-05/0.5402, allocations: 24.64 kB / 1.513 GB, free: 3.645 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.5413, allocations: 0.6049 MB / 1.514 GB, free: 3 MB / 1.201 GB Notification: Performance of pre-optimization done (n=83): time 2.945e-06/0.5413, allocations: 0 / 1.514 GB, free: 3 MB / 1.201 GB Notification: Performance of matching and sorting (n=83): time 0.003482/0.5448, allocations: 1.16 MB / 1.515 GB, free: 1.832 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/0.5449, allocations: 196.9 kB / 1.515 GB, free: 1.598 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009783/0.5459, allocations: 0.6567 MB / 1.516 GB, free: 0.9297 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.291e-05/0.546, allocations: 41.7 kB / 1.516 GB, free: 0.8828 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000389/0.5464, allocations: 421 kB / 1.516 GB, free: 476 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.5466, allocations: 289.5 kB / 1.517 GB, free: 184 kB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.5469, allocations: 154.6 kB / 1.517 GB, free: 24 kB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.5471, allocations: 390.8 kB / 1.517 GB, free: 15.63 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005609/0.5477, allocations: 253.9 kB / 1.517 GB, free: 15.38 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.5484, allocations: 0.5055 MB / 1.518 GB, free: 14.81 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.5497, allocations: 0.6189 MB / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5497, allocations: 0 / 1.519 GB, free: 14.18 MB / 1.217 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002162/0.5518, allocations: 0.8453 MB / 1.519 GB, free: 13.32 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.5519, allocations: 7.938 kB / 1.519 GB, free: 13.31 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.5519, allocations: 4 kB / 1.519 GB, free: 13.3 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/0.5525, allocations: 88.83 kB / 1.519 GB, free: 13.21 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006815/0.5532, allocations: 155.8 kB / 1.52 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002269/0.5555, allocations: 1.523 MB / 1.521 GB, free: 11.42 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/0.5562, allocations: 95.45 kB / 1.521 GB, free: 11.32 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/0.5563, allocations: 35.98 kB / 1.521 GB, free: 11.29 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.0004829/0.5568, allocations: 270.8 kB / 1.521 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.557, allocations: 87.44 kB / 1.522 GB, free: 10.93 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/0.5596, allocations: 1.093 MB / 1.523 GB, free: 9.824 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.5596, allocations: 12 kB / 1.523 GB, free: 9.812 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5596, allocations: 0 / 1.523 GB, free: 9.812 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5596, allocations: 3.984 kB / 1.523 GB, free: 9.809 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.5635, allocations: 1.916 MB / 1.525 GB, free: 7.84 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5635, allocations: 0 / 1.525 GB, free: 7.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006273/0.5642, allocations: 147.8 kB / 1.525 GB, free: 7.695 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.5646, allocations: 72.78 kB / 1.525 GB, free: 7.621 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.5647, allocations: 31.98 kB / 1.525 GB, free: 7.59 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.5668, allocations: 1.543 MB / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.5668, allocations: 0 / 1.526 GB, free: 5.922 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.5691, allocations: 1.026 MB / 1.527 GB, free: 4.879 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005361/0.5696, allocations: 207 kB / 1.527 GB, free: 4.676 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.5697, allocations: 20 kB / 1.527 GB, free: 4.656 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006757/0.5704, allocations: 68.06 kB / 1.528 GB, free: 4.59 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.5706, allocations: 80.78 kB / 1.528 GB, free: 4.508 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.5707, allocations: 35.98 kB / 1.528 GB, free: 4.473 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006931/0.5714, allocations: 479 kB / 1.528 GB, free: 4.012 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5714, allocations: 0 / 1.528 GB, free: 4.012 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000993/0.5724, allocations: 335.1 kB / 1.528 GB, free: 3.684 MB / 1.217 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.004593/0.5769, allocations: 2.098 MB / 1.53 GB, free: 1.766 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001886/0.5788, allocations: 0.7999 MB / 1.531 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.5788, allocations: 0 / 1.531 GB, free: 0.9531 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001006/0.5798, allocations: 0.5005 MB / 1.532 GB, free: 456 kB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.5813, allocations: 322.1 kB / 1.532 GB, free: 156 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.5928, allocations: 6.436 MB / 1.538 GB, free: 9.547 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005535/0.5934, allocations: 453 kB / 1.539 GB, free: 9.074 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000973/0.5943, allocations: 279 kB / 1.539 GB, free: 8.797 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006505/0.595, allocations: 403.3 kB / 1.539 GB, free: 8.402 MB / 1.232 GB Notification: Performance of SimCode: time 1.032e-06/0.595, allocations: 0 / 1.539 GB, free: 8.402 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06619/0.6612, allocations: 24.35 MB / 1.563 GB, free: 380 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.45, allocations: 8.062 kB / 1.563 GB, free: 372 kB / 1.248 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.423197008203715]