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.001429/0.001429, 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.001588/0.001588, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.801 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.19/3.19, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002078/0.002078, allocations: 64.33 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3424, allocations: 181.9 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.008022/0.3504, allocations: 4.69 MB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.5198, allocations: 132.7 MB / 1.498 GB, free: 4.133 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.5211, allocations: 23.81 kB / 1.498 GB, free: 4.109 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.5221, allocations: 206.1 kB / 1.498 GB, free: 3.906 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.5245, allocations: 0.5851 MB / 1.498 GB, free: 3.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.527, allocations: 0.8819 MB / 1.499 GB, free: 2.445 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.002437/0.5295, allocations: 1.475 MB / 1.501 GB, free: 0.9648 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001142/0.5306, allocations: 454.3 kB / 1.501 GB, free: 0.4922 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.5317, allocations: 0.5451 MB / 1.502 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009413/0.5327, allocations: 0.5093 MB / 1.502 GB, free: 15.43 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.533, allocations: 132 kB / 1.502 GB, free: 15.3 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.5342, allocations: 0.4918 MB / 1.503 GB, free: 14.81 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004003/0.5346, allocations: 330.9 kB / 1.503 GB, free: 14.49 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0007274/0.5353, allocations: 0.5015 MB / 1.504 GB, free: 13.98 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.5382, allocations: 1.817 MB / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5382, allocations: 0 / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5382, allocations: 0 / 1.505 GB, free: 12.16 MB / 1.201 GB Notification: Performance of Transformations before backend: time 5.915e-05/0.5383, allocations: 4 kB / 1.505 GB, free: 12.16 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.003445/0.5417, allocations: 1.504 MB / 1.507 GB, free: 10.62 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.5417, allocations: 8.031 kB / 1.507 GB, free: 10.61 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002384/0.542, allocations: 152.3 kB / 1.507 GB, free: 10.45 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002488/0.5445, allocations: 367.8 kB / 1.507 GB, free: 10.09 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.5461, allocations: 0.7413 MB / 1.508 GB, free: 9.324 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-05/0.5461, allocations: 74 kB / 1.508 GB, free: 9.25 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/0.5463, allocations: 96 kB / 1.508 GB, free: 9.156 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002481/0.5488, allocations: 1.321 MB / 1.509 GB, free: 7.738 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.5488, allocations: 0 / 1.509 GB, free: 7.738 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5489, allocations: 40 kB / 1.51 GB, free: 7.699 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.647e-05/0.549, allocations: 24 kB / 1.51 GB, free: 7.676 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.5516, allocations: 1.225 MB / 1.511 GB, free: 6.449 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005488/0.5571, allocations: 2.408 MB / 1.513 GB, free: 3.98 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002688/0.5598, allocations: 0.8987 MB / 1.514 GB, free: 3.074 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008607/0.5606, allocations: 342.6 kB / 1.514 GB, free: 2.738 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 7.451e-05/0.5607, allocations: 22.52 kB / 1.514 GB, free: 2.719 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/0.562, allocations: 0.6631 MB / 1.515 GB, free: 2.02 MB / 1.201 GB Notification: Performance of pre-optimization done (n=84): time 3.056e-06/0.562, allocations: 0 / 1.515 GB, free: 2.02 MB / 1.201 GB Notification: Performance of matching and sorting (n=84): time 0.004102/0.5661, allocations: 1.32 MB / 1.516 GB, free: 0.6875 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.5662, allocations: 200.8 kB / 1.516 GB, free: 460 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009923/0.5672, allocations: 0.6568 MB / 1.517 GB, free: 15.78 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.5673, allocations: 45.7 kB / 1.517 GB, free: 15.73 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004064/0.5677, allocations: 448.9 kB / 1.518 GB, free: 15.29 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002695/0.568, allocations: 285.6 kB / 1.518 GB, free: 15 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.5682, allocations: 154.6 kB / 1.518 GB, free: 14.85 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002152/0.5685, allocations: 390.8 kB / 1.518 GB, free: 14.46 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007792/0.5692, allocations: 297.8 kB / 1.519 GB, free: 14.16 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/0.5702, allocations: 0.5342 MB / 1.519 GB, free: 13.57 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.5718, allocations: 0.6866 MB / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5718, allocations: 4 kB / 1.52 GB, free: 12.88 MB / 1.217 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002516/0.5743, allocations: 0.9272 MB / 1.521 GB, free: 11.93 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.5743, allocations: 8 kB / 1.521 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5743, allocations: 0 / 1.521 GB, free: 11.93 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.5749, allocations: 80.88 kB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.5758, allocations: 175.8 kB / 1.521 GB, free: 11.67 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.578, allocations: 1.519 MB / 1.522 GB, free: 10.03 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009381/0.5789, allocations: 114.4 kB / 1.523 GB, free: 9.922 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/0.579, allocations: 35.97 kB / 1.523 GB, free: 9.887 MB / 1.217 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.000518/0.5795, allocations: 273.9 kB / 1.523 GB, free: 9.609 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002033/0.5797, allocations: 95.39 kB / 1.523 GB, free: 9.516 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003052/0.5828, allocations: 1.206 MB / 1.524 GB, free: 8.297 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.5828, allocations: 11.98 kB / 1.524 GB, free: 8.285 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.5828, allocations: 0 / 1.524 GB, free: 8.285 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.5828, allocations: 7.969 kB / 1.524 GB, free: 8.277 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004151/0.587, allocations: 1.996 MB / 1.526 GB, free: 6.227 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.279e-06/0.587, allocations: 0 / 1.526 GB, free: 6.227 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007514/0.5877, allocations: 171.8 kB / 1.526 GB, free: 6.059 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.5882, allocations: 72.78 kB / 1.526 GB, free: 5.984 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.5882, allocations: 27.97 kB / 1.526 GB, free: 5.957 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001999/0.5902, allocations: 1.554 MB / 1.528 GB, free: 4.285 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5902, allocations: 4.125 kB / 1.528 GB, free: 4.281 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002719/0.593, allocations: 1.127 MB / 1.529 GB, free: 3.133 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/0.5935, allocations: 215 kB / 1.529 GB, free: 2.922 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.5937, allocations: 16 kB / 1.529 GB, free: 2.906 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008258/0.5945, allocations: 87.91 kB / 1.529 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.5947, allocations: 76.8 kB / 1.529 GB, free: 2.746 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.089e-05/0.5947, allocations: 39.97 kB / 1.529 GB, free: 2.707 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006758/0.5954, allocations: 487 kB / 1.53 GB, free: 2.238 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5954, allocations: 4 kB / 1.53 GB, free: 2.234 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0009979/0.5964, allocations: 343 kB / 1.53 GB, free: 1.898 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.005015/0.6014, allocations: 2.213 MB / 1.532 GB, free: 15.86 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.002339/0.6038, allocations: 0.8899 MB / 1.533 GB, free: 14.96 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.6038, allocations: 0 / 1.533 GB, free: 14.96 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.605, allocations: 0.5509 MB / 1.534 GB, free: 14.4 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001411/0.6065, allocations: 315 kB / 1.534 GB, free: 14.11 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.6198, allocations: 6.83 MB / 1.541 GB, free: 7.129 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.6203, allocations: 466.3 kB / 1.541 GB, free: 6.637 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0009948/0.6213, allocations: 294.9 kB / 1.541 GB, free: 6.344 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007081/0.622, allocations: 427.2 kB / 1.542 GB, free: 5.926 MB / 1.232 GB Notification: Performance of SimCode: time 1.011e-06/0.622, allocations: 0 / 1.542 GB, free: 5.926 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06749/0.6895, allocations: 24.7 MB / 1.566 GB, free: 13.55 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.76, allocations: 11 kB / 1.566 GB, free: 13.55 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.62894907966256]