Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001816/0.001816, allocations: 103.1 kB / 16.45 MB, free: 6.449 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.002301/0.002301, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7672 GB, free: 5.238 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_11_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.002702/0.002702, allocations: 67.91 kB / 1.112 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8195/0.8222, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.007731/0.8299, allocations: 5.221 MB / 1.283 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.179/1.009, allocations: 154 MB / 1.434 GB, free: 13.51 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008438/1.01, allocations: 23.81 kB / 1.434 GB, free: 13.49 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006237/1.01, allocations: 194.1 kB / 1.434 GB, free: 13.3 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.001777/1.012, allocations: 0.5898 MB / 1.435 GB, free: 12.71 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/1.014, allocations: 0.8755 MB / 1.435 GB, free: 11.84 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001698/1.016, allocations: 1.483 MB / 1.437 GB, free: 10.35 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000799/1.017, allocations: 490 kB / 1.437 GB, free: 9.844 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007279/1.017, allocations: 0.549 MB / 1.438 GB, free: 9.293 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007099/1.018, allocations: 0.564 MB / 1.438 GB, free: 8.727 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/1.018, allocations: 128 kB / 1.439 GB, free: 8.602 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000972/1.019, allocations: 0.5192 MB / 1.439 GB, free: 8.082 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003122/1.02, allocations: 326.9 kB / 1.439 GB, free: 7.762 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000581/1.02, allocations: 0.6258 MB / 1.44 GB, free: 7.133 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/1.022, allocations: 1.802 MB / 1.442 GB, free: 5.324 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/1.022, allocations: 0 / 1.442 GB, free: 5.324 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.182e-06/1.022, allocations: 0 / 1.442 GB, free: 5.324 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.668e-05/1.022, allocations: 0 / 1.442 GB, free: 5.324 MB / 1.139 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.002766/1.025, allocations: 1.576 MB / 1.443 GB, free: 3.688 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.025, allocations: 12.03 kB / 1.443 GB, free: 3.676 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/1.025, allocations: 152.3 kB / 1.443 GB, free: 3.52 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002569/1.028, allocations: 371.8 kB / 1.444 GB, free: 3.156 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/1.029, allocations: 0.8096 MB / 1.445 GB, free: 2.305 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/1.029, allocations: 74 kB / 1.445 GB, free: 2.23 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/1.029, allocations: 92 kB / 1.445 GB, free: 2.141 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/1.032, allocations: 1.07 MB / 1.446 GB, free: 1.035 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/1.032, allocations: 3.938 kB / 1.446 GB, free: 1.031 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-05/1.032, allocations: 39.98 kB / 1.446 GB, free: 0.9922 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.428e-05/1.032, allocations: 27.94 kB / 1.446 GB, free: 0.9648 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/1.034, allocations: 1.272 MB / 1.447 GB, free: 15.7 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004981/1.039, allocations: 2.966 MB / 1.45 GB, free: 12.61 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002782/1.042, allocations: 0.981 MB / 1.451 GB, free: 11.61 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008351/1.043, allocations: 338.6 kB / 1.451 GB, free: 11.27 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.042e-05/1.043, allocations: 42.47 kB / 1.451 GB, free: 11.23 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001197/1.044, allocations: 0.5587 MB / 1.452 GB, free: 10.66 MB / 1.154 GB Notification: Performance of pre-optimization done (n=84): time 2.454e-06/1.044, allocations: 0 / 1.452 GB, free: 10.66 MB / 1.154 GB Notification: Performance of matching and sorting (n=84): time 0.004316/1.049, allocations: 1.392 MB / 1.453 GB, free: 9.234 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.049, allocations: 188.9 kB / 1.453 GB, free: 9.008 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/1.05, allocations: 0.6646 MB / 1.454 GB, free: 8.332 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.76e-05/1.05, allocations: 41.7 kB / 1.454 GB, free: 8.285 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004044/1.05, allocations: 441 kB / 1.455 GB, free: 7.848 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/1.05, allocations: 293.6 kB / 1.455 GB, free: 7.559 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/1.051, allocations: 150.6 kB / 1.455 GB, free: 7.406 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002039/1.051, allocations: 390.7 kB / 1.455 GB, free: 7.016 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008266/1.052, allocations: 301.8 kB / 1.456 GB, free: 6.719 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009366/1.053, allocations: 422.4 kB / 1.456 GB, free: 6.281 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/1.054, allocations: 0.6828 MB / 1.457 GB, free: 5.59 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.054, allocations: 3.938 kB / 1.457 GB, free: 5.586 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002657/1.057, allocations: 0.9272 MB / 1.458 GB, free: 4.648 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.057, allocations: 8 kB / 1.458 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/1.057, allocations: 0 / 1.458 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006468/1.058, allocations: 84.86 kB / 1.458 GB, free: 4.555 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/1.059, allocations: 179.7 kB / 1.458 GB, free: 4.379 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/1.061, allocations: 1.624 MB / 1.459 GB, free: 2.613 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009248/1.062, allocations: 115.7 kB / 1.46 GB, free: 2.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.014e-05/1.062, allocations: 31.98 kB / 1.46 GB, free: 2.469 MB / 1.154 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.0005176/1.063, allocations: 277.6 kB / 1.46 GB, free: 2.188 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/1.063, allocations: 87.44 kB / 1.46 GB, free: 2.102 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003352/1.066, allocations: 1.214 MB / 1.461 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/1.066, allocations: 11.94 kB / 1.461 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/1.066, allocations: 0 / 1.461 GB, free: 0.8555 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/1.066, allocations: 3.984 kB / 1.461 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004854/1.071, allocations: 2.164 MB / 1.463 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.071, allocations: 0 / 1.463 GB, free: 14.62 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008333/1.072, allocations: 183.6 kB / 1.463 GB, free: 14.45 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/1.072, allocations: 72.78 kB / 1.463 GB, free: 14.37 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.002e-05/1.072, allocations: 23.98 kB / 1.463 GB, free: 14.35 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/1.075, allocations: 1.65 MB / 1.465 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.075, allocations: 4 kB / 1.465 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00286/1.078, allocations: 1.127 MB / 1.466 GB, free: 11.4 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005175/1.078, allocations: 296.1 kB / 1.466 GB, free: 11.09 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/1.078, allocations: 23.95 kB / 1.467 GB, free: 11.07 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009078/1.079, allocations: 79.91 kB / 1.467 GB, free: 10.99 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001848/1.079, allocations: 76.98 kB / 1.467 GB, free: 10.92 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/1.079, allocations: 39.97 kB / 1.467 GB, free: 10.88 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0008/1.08, allocations: 487 kB / 1.467 GB, free: 10.41 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.08, allocations: 0 / 1.467 GB, free: 10.41 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001071/1.081, allocations: 351.1 kB / 1.467 GB, free: 10.07 MB / 1.17 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.005112/1.086, allocations: 2.177 MB / 1.47 GB, free: 8.047 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002446/1.089, allocations: 0.9016 MB / 1.471 GB, free: 7.133 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.089, allocations: 0 / 1.471 GB, free: 7.133 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/1.09, allocations: 0.5509 MB / 1.471 GB, free: 6.57 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/1.092, allocations: 299.4 kB / 1.471 GB, free: 6.293 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01395/1.106, allocations: 6.843 MB / 1.478 GB, free: 15.3 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/1.106, allocations: 1.051 MB / 1.479 GB, free: 14.22 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009589/1.107, allocations: 283 kB / 1.479 GB, free: 13.94 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/1.108, allocations: 431.2 kB / 1.48 GB, free: 13.52 MB / 1.186 GB Notification: Performance of SimCode: time 6.61e-07/1.108, allocations: 3.938 kB / 1.48 GB, free: 13.51 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06367/1.172, allocations: 23.07 MB / 1.502 GB, free: 6.777 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.9, allocations: 4.594 kB / 1.502 GB, free: 6.777 MB / 1.201 GB " [Timeout remaining time 285] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.236702155089006]