Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00168/0.00168, allocations: 114.5 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.002063/0.002063, allocations: 213 kB / 22.25 MB, free: 5.086 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 8.012 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.221/3.221, allocations: 0.49 GB / 0.7951 GB, free: 33.21 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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_12_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.002023/0.002023, allocations: 67.94 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3868, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007513/0.3943, allocations: 5.27 MB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1983/0.5926, allocations: 154.2 MB / 1.482 GB, free: 1.898 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.5941, allocations: 23.81 kB / 1.482 GB, free: 1.875 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008706/0.595, allocations: 210.1 kB / 1.482 GB, free: 1.668 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002467/0.5974, allocations: 0.5863 MB / 1.482 GB, free: 1.082 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002342/0.5998, allocations: 0.8828 MB / 1.483 GB, free: 208 kB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001854/0.6016, allocations: 1.491 MB / 1.485 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008493/0.6025, allocations: 482.3 kB / 1.485 GB, free: 14.2 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.6032, allocations: 0.5451 MB / 1.486 GB, free: 13.66 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007017/0.6039, allocations: 0.5601 MB / 1.486 GB, free: 13.09 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001746/0.6041, allocations: 132 kB / 1.486 GB, free: 12.96 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.6051, allocations: 0.5346 MB / 1.487 GB, free: 12.43 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003339/0.6054, allocations: 331 kB / 1.487 GB, free: 12.11 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0006431/0.6061, allocations: 0.6102 MB / 1.488 GB, free: 11.49 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.6083, allocations: 1.813 MB / 1.49 GB, free: 9.672 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.6083, allocations: 0 / 1.49 GB, free: 9.672 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6083, allocations: 0 / 1.49 GB, free: 9.672 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.6083, allocations: 0 / 1.49 GB, free: 9.672 MB / 1.186 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.002822/0.6112, allocations: 1.506 MB / 1.491 GB, free: 8.133 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.6112, allocations: 8.031 kB / 1.491 GB, free: 8.125 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001985/0.6114, allocations: 160.3 kB / 1.491 GB, free: 7.961 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.6138, allocations: 363.8 kB / 1.492 GB, free: 7.605 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.6153, allocations: 0.7413 MB / 1.492 GB, free: 6.836 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.847e-05/0.6154, allocations: 70 kB / 1.492 GB, free: 6.766 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.6155, allocations: 100 kB / 1.492 GB, free: 6.668 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.6175, allocations: 1.066 MB / 1.493 GB, free: 5.566 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.6175, allocations: 0 / 1.493 GB, free: 5.566 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.676e-05/0.6176, allocations: 44 kB / 1.494 GB, free: 5.523 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.361e-05/0.6177, allocations: 24 kB / 1.494 GB, free: 5.5 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.6201, allocations: 1.268 MB / 1.495 GB, free: 4.227 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/0.625, allocations: 3.028 MB / 1.498 GB, free: 1.055 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.6276, allocations: 0.903 MB / 1.499 GB, free: 148 kB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008054/0.6284, allocations: 346.7 kB / 1.499 GB, free: 15.8 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.6285, allocations: 26.41 kB / 1.499 GB, free: 15.78 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.6297, allocations: 0.5627 MB / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of pre-optimization done (n=84): time 2.164e-06/0.6297, allocations: 0 / 1.5 GB, free: 15.2 MB / 1.201 GB Notification: Performance of matching and sorting (n=84): time 0.004005/0.6337, allocations: 1.309 MB / 1.501 GB, free: 13.88 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.6338, allocations: 192.9 kB / 1.501 GB, free: 13.65 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/0.6348, allocations: 0.6607 MB / 1.502 GB, free: 12.98 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.911e-05/0.6349, allocations: 45.7 kB / 1.502 GB, free: 12.93 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004087/0.6353, allocations: 448.9 kB / 1.502 GB, free: 12.49 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.6356, allocations: 285.6 kB / 1.502 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002528/0.6358, allocations: 154.6 kB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002182/0.636, allocations: 386.7 kB / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007466/0.6368, allocations: 305.8 kB / 1.503 GB, free: 11.36 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008616/0.6376, allocations: 414.5 kB / 1.504 GB, free: 10.93 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.6393, allocations: 0.6944 MB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6393, allocations: 0 / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002566/0.6419, allocations: 0.9271 MB / 1.505 GB, free: 9.293 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6419, allocations: 8 kB / 1.505 GB, free: 9.285 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.6419, allocations: 0 / 1.505 GB, free: 9.285 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006241/0.6425, allocations: 84.86 kB / 1.505 GB, free: 9.199 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008143/0.6433, allocations: 179.8 kB / 1.505 GB, free: 9.023 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.6456, allocations: 1.539 MB / 1.507 GB, free: 7.363 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000925/0.6465, allocations: 115.5 kB / 1.507 GB, free: 7.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-05/0.6466, allocations: 27.98 kB / 1.507 GB, free: 7.223 MB / 1.201 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.000584/0.6472, allocations: 269.7 kB / 1.507 GB, free: 6.949 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.6474, allocations: 91.44 kB / 1.507 GB, free: 6.859 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.6503, allocations: 1.206 MB / 1.509 GB, free: 5.633 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6504, allocations: 8 kB / 1.509 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.6504, allocations: 0 / 1.509 GB, free: 5.625 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.6504, allocations: 11.98 kB / 1.509 GB, free: 5.613 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004124/0.6545, allocations: 2.132 MB / 1.511 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.6545, allocations: 0 / 1.511 GB, free: 3.426 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/0.6552, allocations: 175.8 kB / 1.511 GB, free: 3.254 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004287/0.6557, allocations: 72.78 kB / 1.511 GB, free: 3.18 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.6557, allocations: 27.98 kB / 1.511 GB, free: 3.152 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.6577, allocations: 1.555 MB / 1.512 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6577, allocations: 0 / 1.512 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/0.6604, allocations: 1.131 MB / 1.514 GB, free: 336 kB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.6608, allocations: 207.1 kB / 1.514 GB, free: 128 kB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.661, allocations: 27.95 kB / 1.514 GB, free: 100 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007905/0.6618, allocations: 87.91 kB / 1.514 GB, free: 12 kB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.662, allocations: 76.8 kB / 1.514 GB, free: 15.94 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.662, allocations: 39.97 kB / 1.514 GB, free: 15.9 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006895/0.6627, allocations: 487 kB / 1.514 GB, free: 15.43 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6627, allocations: 4 kB / 1.514 GB, free: 15.43 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001004/0.6637, allocations: 335.1 kB / 1.515 GB, free: 15.1 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 (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.004902/0.6686, allocations: 2.187 MB / 1.517 GB, free: 13.07 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.002255/0.6709, allocations: 0.8899 MB / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.6709, allocations: 0 / 1.518 GB, free: 12.16 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.6721, allocations: 0.5587 MB / 1.518 GB, free: 11.59 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.6735, allocations: 302 kB / 1.519 GB, free: 11.32 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.6867, allocations: 6.824 MB / 1.525 GB, free: 4.336 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007871/0.6875, allocations: 1.057 MB / 1.526 GB, free: 3.25 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009548/0.6885, allocations: 294.9 kB / 1.527 GB, free: 2.957 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006468/0.6891, allocations: 427.2 kB / 1.527 GB, free: 2.539 MB / 1.217 GB Notification: Performance of SimCode: time 9.62e-07/0.6891, allocations: 0 / 1.527 GB, free: 2.539 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08447/0.7736, allocations: 23.65 MB / 1.55 GB, free: 11.14 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.36, allocations: 9.984 kB / 1.55 GB, free: 11.13 MB / 1.248 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_12_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.435354496999935]