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.001555/0.001555, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001531/0.001531, allocations: 214.9 kB / 22.25 MB, free: 4.855 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.809 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.223/3.223, allocations: 0.4892 GB / 0.7944 GB, free: 35.58 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.00212/0.00212, allocations: 69.41 kB / 1.153 GB, free: 25.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3194, allocations: 176.1 MB / 1.325 GB, free: 2.406 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.007647/0.3271, allocations: 4.481 MB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1679/0.495, allocations: 132.7 MB / 1.459 GB, free: 8.672 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009817/0.496, allocations: 23.81 kB / 1.459 GB, free: 8.648 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0008895/0.4969, allocations: 202.2 kB / 1.459 GB, free: 8.449 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.499, allocations: 0.5735 MB / 1.46 GB, free: 7.879 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/0.5013, allocations: 0.8831 MB / 1.461 GB, free: 7 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002216/0.5035, allocations: 1.447 MB / 1.462 GB, free: 5.547 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.5046, allocations: 410 kB / 1.462 GB, free: 5.121 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.5056, allocations: 0.5178 MB / 1.463 GB, free: 4.602 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008492/0.5064, allocations: 489.6 kB / 1.463 GB, free: 4.121 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002938/0.5067, allocations: 120 kB / 1.464 GB, free: 4.004 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.5079, allocations: 499.6 kB / 1.464 GB, free: 3.516 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.5083, allocations: 307 kB / 1.464 GB, free: 3.215 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008182/0.5091, allocations: 481.7 kB / 1.465 GB, free: 2.742 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.5121, allocations: 1.716 MB / 1.466 GB, free: 1.02 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5121, allocations: 0 / 1.466 GB, free: 1.02 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5121, allocations: 0 / 1.466 GB, free: 1.02 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.731e-05/0.5122, allocations: 0 / 1.466 GB, free: 1.02 MB / 1.154 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.00363/0.5158, allocations: 1.455 MB / 1.468 GB, free: 15.53 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.5159, allocations: 15.97 kB / 1.468 GB, free: 15.52 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002459/0.5161, allocations: 147.6 kB / 1.468 GB, free: 15.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.5181, allocations: 279.9 kB / 1.468 GB, free: 15.09 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.5198, allocations: 0.7297 MB / 1.469 GB, free: 14.33 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.407e-05/0.5199, allocations: 62 kB / 1.469 GB, free: 14.27 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.52, allocations: 87.94 kB / 1.469 GB, free: 14.18 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.5222, allocations: 1.238 MB / 1.47 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.5222, allocations: 0 / 1.47 GB, free: 12.83 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-05/0.5223, allocations: 40 kB / 1.47 GB, free: 12.79 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.5223, allocations: 20 kB / 1.47 GB, free: 12.77 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00215/0.5245, allocations: 1.124 MB / 1.472 GB, free: 11.64 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.5293, allocations: 2.533 MB / 1.474 GB, free: 9.035 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.5312, allocations: 0.8256 MB / 1.475 GB, free: 8.203 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005845/0.5318, allocations: 282.7 kB / 1.475 GB, free: 7.926 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.842e-05/0.5319, allocations: 24.62 kB / 1.475 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.5329, allocations: 0.5983 MB / 1.476 GB, free: 7.266 MB / 1.17 GB Notification: Performance of pre-optimization done (n=83): time 2.795e-06/0.5329, allocations: 0 / 1.476 GB, free: 7.266 MB / 1.17 GB Notification: Performance of matching and sorting (n=83): time 0.003399/0.5363, allocations: 1.164 MB / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/0.5364, allocations: 188.9 kB / 1.477 GB, free: 5.863 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009594/0.5374, allocations: 0.6645 MB / 1.478 GB, free: 5.191 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.5375, allocations: 41.7 kB / 1.478 GB, free: 5.145 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.5378, allocations: 429 kB / 1.478 GB, free: 4.719 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.5381, allocations: 277.6 kB / 1.478 GB, free: 4.445 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002355/0.5383, allocations: 154.6 kB / 1.479 GB, free: 4.289 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.5386, allocations: 386.8 kB / 1.479 GB, free: 3.902 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.5391, allocations: 261.9 kB / 1.479 GB, free: 3.645 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007422/0.5398, allocations: 0.5015 MB / 1.48 GB, free: 3.078 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.541, allocations: 0.6189 MB / 1.48 GB, free: 2.441 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.541, allocations: 0 / 1.48 GB, free: 2.441 MB / 1.17 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002089/0.5431, allocations: 0.849 MB / 1.481 GB, free: 1.582 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.5432, allocations: 8 kB / 1.481 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.5432, allocations: 0 / 1.481 GB, free: 1.574 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.5438, allocations: 80.97 kB / 1.481 GB, free: 1.492 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.5445, allocations: 167.7 kB / 1.481 GB, free: 1.328 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.5468, allocations: 1.529 MB / 1.483 GB, free: 15.68 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007539/0.5475, allocations: 95.53 kB / 1.483 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.5476, allocations: 35.97 kB / 1.483 GB, free: 15.55 MB / 1.186 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.5481, allocations: 262 kB / 1.483 GB, free: 15.29 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/0.5483, allocations: 95.38 kB / 1.483 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002547/0.5508, allocations: 1.093 MB / 1.484 GB, free: 14.08 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.5509, allocations: 8 kB / 1.484 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.5509, allocations: 0 / 1.484 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.5509, allocations: 7.969 kB / 1.484 GB, free: 14.07 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003922/0.5548, allocations: 1.912 MB / 1.486 GB, free: 12.1 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5548, allocations: 7.938 kB / 1.486 GB, free: 12.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/0.5554, allocations: 147.8 kB / 1.486 GB, free: 11.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004465/0.5558, allocations: 72.78 kB / 1.486 GB, free: 11.88 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.5559, allocations: 23.98 kB / 1.486 GB, free: 11.85 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.5579, allocations: 1.551 MB / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.558, allocations: 0 / 1.488 GB, free: 10.18 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002208/0.5602, allocations: 1.022 MB / 1.489 GB, free: 9.137 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005006/0.5607, allocations: 207 kB / 1.489 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5608, allocations: 20 kB / 1.489 GB, free: 8.914 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/0.5615, allocations: 67.92 kB / 1.489 GB, free: 8.848 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.5616, allocations: 76.8 kB / 1.489 GB, free: 8.77 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.752e-05/0.5617, allocations: 39.97 kB / 1.489 GB, free: 8.73 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006516/0.5623, allocations: 475 kB / 1.49 GB, free: 8.273 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5623, allocations: 0 / 1.49 GB, free: 8.273 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0008997/0.5632, allocations: 331.2 kB / 1.49 GB, free: 7.949 MB / 1.186 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.004385/0.5676, allocations: 2.128 MB / 1.492 GB, free: 6.012 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001935/0.5696, allocations: 0.7921 MB / 1.493 GB, free: 5.203 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5696, allocations: 0 / 1.493 GB, free: 5.203 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.5708, allocations: 0.4966 MB / 1.493 GB, free: 4.699 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.5729, allocations: 312.9 kB / 1.494 GB, free: 4.41 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.5863, allocations: 6.44 MB / 1.5 GB, free: 13.8 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005039/0.5869, allocations: 449 kB / 1.5 GB, free: 13.33 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009249/0.5878, allocations: 271 kB / 1.501 GB, free: 13.06 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006314/0.5884, allocations: 403.3 kB / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of SimCode: time 9.32e-07/0.5884, allocations: 0 / 1.501 GB, free: 12.67 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07752/0.6659, allocations: 24.36 MB / 1.525 GB, free: 4.645 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.65, allocations: 4.062 kB / 1.525 GB, free: 4.641 MB / 1.217 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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: 21.570559535641223]