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.001848/0.001848, allocations: 105.3 kB / 16.46 MB, free: 6.453 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.002271/0.002271, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.403/1.403, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.137/3.137, allocations: 0.505 GB / 0.8066 GB, free: 23.14 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.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.002263/0.002263, allocations: 67.69 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3717, allocations: 180.2 MB / 1.348 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007531/0.3792, allocations: 5.24 MB / 1.353 GB, free: 4.746 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1862/0.5654, allocations: 154 MB / 1.503 GB, free: 10.12 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.5666, allocations: 27.81 kB / 1.503 GB, free: 10.09 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009672/0.5675, allocations: 206.1 kB / 1.504 GB, free: 9.891 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002645/0.5702, allocations: 0.5835 MB / 1.504 GB, free: 9.309 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002858/0.573, allocations: 0.872 MB / 1.505 GB, free: 8.441 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0027/0.5757, allocations: 1.483 MB / 1.506 GB, free: 6.949 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001366/0.5771, allocations: 485.5 kB / 1.507 GB, free: 6.445 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.5782, allocations: 0.549 MB / 1.507 GB, free: 5.895 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.5793, allocations: 0.574 MB / 1.508 GB, free: 5.32 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004094/0.5797, allocations: 131.9 kB / 1.508 GB, free: 5.191 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.5812, allocations: 0.5152 MB / 1.509 GB, free: 4.676 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005126/0.5817, allocations: 323 kB / 1.509 GB, free: 4.359 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.5827, allocations: 0.6257 MB / 1.509 GB, free: 3.73 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.5858, allocations: 1.806 MB / 1.511 GB, free: 1.918 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5858, allocations: 0 / 1.511 GB, free: 1.918 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5858, allocations: 4 kB / 1.511 GB, free: 1.914 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.842e-05/0.5858, allocations: 0 / 1.511 GB, free: 1.914 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002949/0.5888, allocations: 1.578 MB / 1.513 GB, free: 292 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5888, allocations: 15.98 kB / 1.513 GB, free: 276 kB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001909/0.589, allocations: 148.3 kB / 1.513 GB, free: 120 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.5915, allocations: 367.9 kB / 1.513 GB, free: 15.75 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.5929, allocations: 0.8173 MB / 1.514 GB, free: 14.9 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.868e-05/0.593, allocations: 74 kB / 1.514 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.5931, allocations: 92 kB / 1.514 GB, free: 14.73 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002146/0.5953, allocations: 1.074 MB / 1.515 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.5953, allocations: 0 / 1.515 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.5954, allocations: 40 kB / 1.515 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.5954, allocations: 24 kB / 1.515 GB, free: 13.56 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.598, allocations: 1.272 MB / 1.517 GB, free: 12.29 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005286/0.6033, allocations: 3.078 MB / 1.52 GB, free: 9.059 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.6061, allocations: 0.9654 MB / 1.521 GB, free: 8.07 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008262/0.6069, allocations: 338.6 kB / 1.521 GB, free: 7.734 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-05/0.607, allocations: 34.47 kB / 1.521 GB, free: 7.703 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.6082, allocations: 0.5627 MB / 1.521 GB, free: 7.129 MB / 1.217 GB Notification: Performance of pre-optimization done (n=84): time 3.576e-06/0.6082, allocations: 0 / 1.521 GB, free: 7.129 MB / 1.217 GB Notification: Performance of matching and sorting (n=84): time 0.004282/0.6125, allocations: 1.392 MB / 1.523 GB, free: 5.707 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6126, allocations: 192.9 kB / 1.523 GB, free: 5.477 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.6137, allocations: 0.6685 MB / 1.524 GB, free: 4.801 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 8.584e-05/0.6138, allocations: 41.7 kB / 1.524 GB, free: 4.754 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004205/0.6142, allocations: 441 kB / 1.524 GB, free: 4.316 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.6145, allocations: 285.5 kB / 1.524 GB, free: 4.035 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/0.6148, allocations: 154.6 kB / 1.525 GB, free: 3.879 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002104/0.615, allocations: 386.8 kB / 1.525 GB, free: 3.492 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008276/0.6158, allocations: 305.8 kB / 1.525 GB, free: 3.191 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009277/0.6167, allocations: 418.5 kB / 1.526 GB, free: 2.758 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001686/0.6184, allocations: 0.6906 MB / 1.526 GB, free: 2.059 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.6184, allocations: 0 / 1.526 GB, free: 2.059 MB / 1.217 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002632/0.6211, allocations: 0.931 MB / 1.527 GB, free: 1.113 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.6211, allocations: 8.094 kB / 1.527 GB, free: 1.105 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.6211, allocations: 4 kB / 1.527 GB, free: 1.102 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.6217, allocations: 80.77 kB / 1.527 GB, free: 1.02 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007969/0.6225, allocations: 171.8 kB / 1.527 GB, free: 0.8516 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/0.6249, allocations: 1.63 MB / 1.529 GB, free: 15.07 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009153/0.6258, allocations: 119.6 kB / 1.529 GB, free: 14.96 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.6259, allocations: 35.97 kB / 1.529 GB, free: 14.92 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.000641/0.6265, allocations: 269.7 kB / 1.529 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/0.6269, allocations: 91.44 kB / 1.53 GB, free: 14.56 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/0.6301, allocations: 1.206 MB / 1.531 GB, free: 13.34 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.6301, allocations: 12 kB / 1.531 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6301, allocations: 0 / 1.531 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.6301, allocations: 3.984 kB / 1.531 GB, free: 13.32 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004487/0.6346, allocations: 2.16 MB / 1.533 GB, free: 11.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6346, allocations: 0 / 1.533 GB, free: 11.1 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/0.6354, allocations: 171.8 kB / 1.533 GB, free: 10.93 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004741/0.6359, allocations: 76.72 kB / 1.533 GB, free: 10.85 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-05/0.636, allocations: 23.98 kB / 1.533 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.6381, allocations: 1.666 MB / 1.535 GB, free: 9.02 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6381, allocations: 0 / 1.535 GB, free: 9.02 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002809/0.6409, allocations: 1.127 MB / 1.536 GB, free: 7.871 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.6414, allocations: 288.1 kB / 1.536 GB, free: 7.57 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.6416, allocations: 23.98 kB / 1.536 GB, free: 7.547 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000879/0.6425, allocations: 80.06 kB / 1.536 GB, free: 7.469 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.6427, allocations: 80.81 kB / 1.536 GB, free: 7.391 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-05/0.6428, allocations: 43.97 kB / 1.536 GB, free: 7.348 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007786/0.6436, allocations: 491 kB / 1.537 GB, free: 6.875 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.6436, allocations: 0 / 1.537 GB, free: 6.875 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001086/0.6446, allocations: 339.1 kB / 1.537 GB, free: 6.543 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.005102/0.6497, allocations: 2.176 MB / 1.539 GB, free: 4.516 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002528/0.6523, allocations: 0.8938 MB / 1.54 GB, free: 3.613 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6523, allocations: 0 / 1.54 GB, free: 3.613 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.6536, allocations: 0.5548 MB / 1.541 GB, free: 3.047 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.6553, allocations: 307.2 kB / 1.541 GB, free: 2.766 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01495/0.6702, allocations: 6.836 MB / 1.548 GB, free: 11.78 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.6713, allocations: 1.052 MB / 1.549 GB, free: 10.7 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001063/0.6723, allocations: 283 kB / 1.549 GB, free: 10.41 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007333/0.6731, allocations: 431.3 kB / 1.549 GB, free: 9.996 MB / 1.248 GB Notification: Performance of SimCode: time 1.353e-06/0.6731, allocations: 0 / 1.549 GB, free: 9.996 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0719/0.745, allocations: 23.08 MB / 1.572 GB, free: 3.246 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.09, allocations: 12.25 kB / 1.572 GB, free: 3.238 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.863077444955707]