Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007446/0.007446, allocations: 95.58 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001881/0.001881, allocations: 204.6 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.014/2.014, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.396/4.396, allocations: 437 MB / 0.7105 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003521/0.003521, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5172, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.01502/0.5323, allocations: 5.178 MB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.287/1.819, allocations: 150.7 MB / 1.318 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001457/1.82, allocations: 19.91 kB / 1.318 GB, free: 10.01 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/1.822, allocations: 199.3 kB / 1.319 GB, free: 9.898 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/1.826, allocations: 0.5668 MB / 1.319 GB, free: 9.641 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004564/1.831, allocations: 0.8502 MB / 1.32 GB, free: 9.48 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003682/1.834, allocations: 1.464 MB / 1.321 GB, free: 9.195 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002236/1.837, allocations: 0.6623 MB / 1.322 GB, free: 9.023 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001627/1.838, allocations: 0.5171 MB / 1.323 GB, free: 8.918 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001806/1.84, allocations: 0.551 MB / 1.323 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000694/1.841, allocations: 128.2 kB / 1.323 GB, free: 8.777 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/1.843, allocations: 0.4906 MB / 1.324 GB, free: 8.742 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008359/1.844, allocations: 327.8 kB / 1.324 GB, free: 8.68 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002228/1.846, allocations: 0.6037 MB / 1.325 GB, free: 8.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005514/1.852, allocations: 1.765 MB / 1.326 GB, free: 7.539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.307e-05/1.852, allocations: 2.328 kB / 1.326 GB, free: 7.539 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.825e-06/1.852, allocations: 3.938 kB / 1.326 GB, free: 7.535 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.818e-05/1.852, allocations: 0 / 1.326 GB, free: 7.535 MB / 1.014 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.006858/1.859, allocations: 1.544 MB / 1.328 GB, free: 6.492 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.859, allocations: 13.62 kB / 1.328 GB, free: 6.488 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000452/1.86, allocations: 152.7 kB / 1.328 GB, free: 6.387 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/1.863, allocations: 310.6 kB / 1.328 GB, free: 6.309 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/1.866, allocations: 0.79 MB / 1.329 GB, free: 5.797 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/1.866, allocations: 73.78 kB / 1.329 GB, free: 5.766 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/1.867, allocations: 93.69 kB / 1.329 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004775/1.872, allocations: 1.076 MB / 1.33 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.715e-05/1.872, allocations: 0 / 1.33 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002542/1.872, allocations: 38.81 kB / 1.33 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/1.872, allocations: 23.66 kB / 1.33 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005174/1.877, allocations: 1.273 MB / 1.332 GB, free: 4.949 MB / 1.014 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.01035/1.888, allocations: 2.973 MB / 1.334 GB, free: 3.191 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005423/1.893, allocations: 1.023 MB / 1.335 GB, free: 2.766 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/1.895, allocations: 365.8 kB / 1.336 GB, free: 2.633 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/1.895, allocations: 30 kB / 1.336 GB, free: 2.625 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002302/1.897, allocations: 0.5601 MB / 1.336 GB, free: 2.406 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 5.521e-06/1.897, allocations: 0 / 1.336 GB, free: 2.406 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.008336/1.906, allocations: 1.386 MB / 1.338 GB, free: 1.859 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002194/1.906, allocations: 192.3 kB / 1.338 GB, free: 1.637 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/1.908, allocations: 0.6411 MB / 1.339 GB, free: 1.352 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002686/1.908, allocations: 45.39 kB / 1.339 GB, free: 1.309 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000707/1.909, allocations: 428.6 kB / 1.339 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005927/1.909, allocations: 290.3 kB / 1.339 GB, free: 0.75 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004954/1.91, allocations: 155.3 kB / 1.339 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003846/1.91, allocations: 390.2 kB / 1.34 GB, free: 340 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/1.912, allocations: 308.1 kB / 1.34 GB, free: 236 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001848/1.914, allocations: 413.3 kB / 1.34 GB, free: 40 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/1.917, allocations: 0.6931 MB / 1.341 GB, free: 15.74 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/1.917, allocations: 1.375 kB / 1.341 GB, free: 15.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00522/1.923, allocations: 0.9199 MB / 1.342 GB, free: 15.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/1.923, allocations: 10.88 kB / 1.342 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.923, allocations: 10.86 kB / 1.342 GB, free: 15.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/1.924, allocations: 78.06 kB / 1.342 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/1.926, allocations: 177.5 kB / 1.342 GB, free: 15.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/1.93, allocations: 1.637 MB / 1.344 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/1.932, allocations: 112.7 kB / 1.344 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001984/1.932, allocations: 34.77 kB / 1.344 GB, free: 13.75 MB / 1.029 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.001037/1.933, allocations: 269.4 kB / 1.344 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004551/1.933, allocations: 93 kB / 1.344 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005988/1.939, allocations: 1.213 MB / 1.346 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/1.939, allocations: 10.22 kB / 1.346 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.939, allocations: 0 / 1.346 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.135e-05/1.94, allocations: 4.922 kB / 1.346 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00844/1.948, allocations: 2.144 MB / 1.348 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.948, allocations: 0 / 1.348 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/1.95, allocations: 172 kB / 1.348 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008021/1.95, allocations: 75.69 kB / 1.348 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/1.951, allocations: 24.47 kB / 1.348 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003841/1.955, allocations: 1.662 MB / 1.35 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.955, allocations: 0 / 1.35 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005535/1.96, allocations: 1.126 MB / 1.351 GB, free: 9.941 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.961, allocations: 287.2 kB / 1.351 GB, free: 9.734 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003985/1.962, allocations: 17.78 kB / 1.351 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001793/1.963, allocations: 79.3 kB / 1.351 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/1.964, allocations: 83.02 kB / 1.351 GB, free: 9.691 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.964, allocations: 42.72 kB / 1.351 GB, free: 9.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001475/1.966, allocations: 469.3 kB / 1.352 GB, free: 9.477 MB / 1.029 GB Notification: Performance of sort global known variables: time 5.21e-07/1.966, allocations: 3.938 kB / 1.352 GB, free: 9.473 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002182/1.968, allocations: 347.3 kB / 1.352 GB, free: 9.375 MB / 1.029 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.009663/1.977, allocations: 2.182 MB / 1.354 GB, free: 8.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004819/1.982, allocations: 0.9145 MB / 1.355 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/1.982, allocations: 1.188 kB / 1.355 GB, free: 7.828 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.002579/1.985, allocations: 0.5829 MB / 1.356 GB, free: 7.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.988, allocations: 310.6 kB / 1.356 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02571/2.014, allocations: 6.759 MB / 1.362 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/2.015, allocations: 1.049 MB / 1.363 GB, free: 2.465 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.00216/2.017, allocations: 281 kB / 1.364 GB, free: 2.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001317/2.019, allocations: 414.8 kB / 1.364 GB, free: 1.988 MB / 1.029 GB Notification: Performance of SimCode: time 1.202e-06/2.019, allocations: 0 / 1.364 GB, free: 1.988 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/2.121, allocations: 22.68 MB / 1.386 GB, free: 2.992 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.23/17.35, allocations: 7.375 kB / 1.386 GB, free: 2.988 MB / 1.045 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv --start-time 0 --stop-time 8.64e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3456 Buildings_10_Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches