Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.001244/0.001244, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00143/0.00143, allocations: 217.5 kB / 22.26 MB, free: 5.078 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 8.027 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.194/3.194, allocations: 0.505 GB / 0.8101 GB, free: 22.02 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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.002121/0.002121, allocations: 68.36 kB / 1.177 GB, free: 17.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.4348, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.00771/0.4425, allocations: 5.271 MB / 1.358 GB, free: 3.145 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1991/0.6416, allocations: 154.2 MB / 1.509 GB, free: 8.355 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.643, allocations: 19.88 kB / 1.509 GB, free: 8.336 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000749/0.6437, allocations: 210.1 kB / 1.509 GB, free: 8.129 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002161/0.6459, allocations: 0.573 MB / 1.509 GB, free: 7.555 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002556/0.6484, allocations: 0.8918 MB / 1.51 GB, free: 6.668 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002102/0.6506, allocations: 1.491 MB / 1.512 GB, free: 5.168 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009052/0.6515, allocations: 482.2 kB / 1.512 GB, free: 4.668 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009257/0.6524, allocations: 0.5452 MB / 1.513 GB, free: 4.121 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000805/0.6532, allocations: 0.5601 MB / 1.513 GB, free: 3.559 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.6534, allocations: 136 kB / 1.513 GB, free: 3.426 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.6547, allocations: 0.5152 MB / 1.514 GB, free: 2.91 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0003922/0.6551, allocations: 327 kB / 1.514 GB, free: 2.59 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0006743/0.6558, allocations: 0.6296 MB / 1.515 GB, free: 1.957 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.6585, allocations: 1.806 MB / 1.517 GB, free: 148 kB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.6585, allocations: 0 / 1.517 GB, free: 148 kB / 1.201 GB Notification: Performance of FrontEnd: time 2.194e-06/0.6585, allocations: 4 kB / 1.517 GB, free: 144 kB / 1.201 GB Notification: Performance of Transformations before backend: time 1.734e-05/0.6585, allocations: 0 / 1.517 GB, free: 144 kB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002995/0.6615, allocations: 1.504 MB / 1.518 GB, free: 14.61 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.6616, allocations: 12.03 kB / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.6618, allocations: 152.3 kB / 1.518 GB, free: 14.44 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.6642, allocations: 367.8 kB / 1.519 GB, free: 14.08 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.6656, allocations: 0.7413 MB / 1.519 GB, free: 13.31 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.763e-05/0.6657, allocations: 74 kB / 1.519 GB, free: 13.23 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.6658, allocations: 88 kB / 1.519 GB, free: 13.15 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.6679, allocations: 1.078 MB / 1.52 GB, free: 12.04 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.6679, allocations: 4 kB / 1.52 GB, free: 12.03 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/0.668, allocations: 40 kB / 1.52 GB, free: 11.99 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.668, allocations: 24 kB / 1.521 GB, free: 11.97 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.6704, allocations: 1.272 MB / 1.522 GB, free: 10.69 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00512/0.6755, allocations: 3.013 MB / 1.525 GB, free: 7.527 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.6781, allocations: 0.9003 MB / 1.526 GB, free: 6.621 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007641/0.6788, allocations: 334.6 kB / 1.526 GB, free: 6.293 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.905e-05/0.6789, allocations: 38.47 kB / 1.526 GB, free: 6.254 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.6801, allocations: 0.5627 MB / 1.526 GB, free: 5.672 MB / 1.217 GB Notification: Performance of pre-optimization done (n=84): time 5.41e-06/0.6801, allocations: 3.984 kB / 1.526 GB, free: 5.668 MB / 1.217 GB Notification: Performance of matching and sorting (n=84): time 0.003968/0.6841, allocations: 1.317 MB / 1.528 GB, free: 4.348 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.6842, allocations: 188.9 kB / 1.528 GB, free: 4.121 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.6852, allocations: 0.6723 MB / 1.529 GB, free: 3.441 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.167e-05/0.6853, allocations: 41.7 kB / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.6857, allocations: 448.9 kB / 1.529 GB, free: 2.949 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002792/0.686, allocations: 281.6 kB / 1.529 GB, free: 2.672 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.6862, allocations: 146.6 kB / 1.529 GB, free: 2.52 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.6864, allocations: 394.8 kB / 1.53 GB, free: 2.125 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007444/0.6872, allocations: 305.8 kB / 1.53 GB, free: 1.828 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008483/0.688, allocations: 410.5 kB / 1.531 GB, free: 1.402 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.6896, allocations: 0.6906 MB / 1.531 GB, free: 0.6992 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6896, allocations: 4 kB / 1.531 GB, free: 0.6953 MB / 1.217 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002459/0.6921, allocations: 0.9271 MB / 1.532 GB, free: 15.76 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6921, allocations: 5.812 kB / 1.532 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.6921, allocations: 4 kB / 1.532 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/0.6927, allocations: 80.77 kB / 1.532 GB, free: 15.67 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000786/0.6935, allocations: 179.8 kB / 1.532 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.6957, allocations: 1.527 MB / 1.534 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009113/0.6966, allocations: 115.5 kB / 1.534 GB, free: 13.73 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.6967, allocations: 31.98 kB / 1.534 GB, free: 13.7 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 89 * 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.0005482/0.6972, allocations: 274.5 kB / 1.534 GB, free: 13.42 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.6974, allocations: 87.44 kB / 1.534 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00295/0.7004, allocations: 1.21 MB / 1.536 GB, free: 12.11 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.7004, allocations: 12 kB / 1.536 GB, free: 12.1 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.7004, allocations: 0 / 1.536 GB, free: 12.1 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.7004, allocations: 3.984 kB / 1.536 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.7046, allocations: 2.132 MB / 1.538 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.7046, allocations: 4 kB / 1.538 GB, free: 9.902 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/0.7054, allocations: 167.8 kB / 1.538 GB, free: 9.738 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004414/0.7058, allocations: 72.8 kB / 1.538 GB, free: 9.664 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/0.7059, allocations: 27.97 kB / 1.538 GB, free: 9.637 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.7079, allocations: 1.562 MB / 1.539 GB, free: 7.957 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.7079, allocations: 3.938 kB / 1.539 GB, free: 7.953 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/0.7106, allocations: 1.127 MB / 1.541 GB, free: 6.805 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005373/0.7111, allocations: 211 kB / 1.541 GB, free: 6.598 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.7113, allocations: 23.94 kB / 1.541 GB, free: 6.574 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000856/0.7121, allocations: 83.98 kB / 1.541 GB, free: 6.492 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.7123, allocations: 84.78 kB / 1.541 GB, free: 6.41 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.7124, allocations: 43.97 kB / 1.541 GB, free: 6.367 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007644/0.7132, allocations: 483 kB / 1.541 GB, free: 5.902 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.7132, allocations: 0 / 1.541 GB, free: 5.902 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001099/0.7143, allocations: 343.1 kB / 1.542 GB, free: 5.566 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 (97): * Single equations (assignments): 91 * 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.004954/0.7192, allocations: 2.18 MB / 1.544 GB, free: 3.539 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002426/0.7217, allocations: 0.8938 MB / 1.545 GB, free: 2.633 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.7217, allocations: 0 / 1.545 GB, free: 2.633 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/0.7229, allocations: 0.5509 MB / 1.545 GB, free: 2.07 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.7246, allocations: 309.3 kB / 1.546 GB, free: 1.789 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01491/0.7395, allocations: 6.833 MB / 1.552 GB, free: 10.8 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.7405, allocations: 1.055 MB / 1.553 GB, free: 9.715 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.00106/0.7415, allocations: 279 kB / 1.554 GB, free: 9.438 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007714/0.7423, allocations: 427.2 kB / 1.554 GB, free: 9.023 MB / 1.248 GB Notification: Performance of SimCode: time 1.343e-06/0.7423, allocations: 0 / 1.554 GB, free: 9.023 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07046/0.8128, allocations: 23.64 MB / 1.577 GB, free: 1.613 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.64, allocations: 7.562 kB / 1.577 GB, free: 1.609 MB / 1.264 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_latest_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.948799575000066]